Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
5598d77
chore: fix header
WillieRuemmele Jan 5, 2026
f4eb1c6
chore: my changes
WillieRuemmele Jan 5, 2026
f782432
chore: more shared setup
WillieRuemmele Jan 5, 2026
4aa3ed9
chore: working on scratch orgs
WillieRuemmele Jan 5, 2026
7f221e2
chore: more work
WillieRuemmele Jan 6, 2026
34fbd13
chore: work on string replacements for bot user
WillieRuemmele Jan 6, 2026
51b9b8c
chore: creating agent user in org
WillieRuemmele Jan 6, 2026
1d5b930
chore: restoring files for template NUT, activate NUT passing
WillieRuemmele Jan 6, 2026
a14edb7
test: nuts on SO
WillieRuemmele Jan 6, 2026
cdc5463
chore: empty to retrigger CI
WillieRuemmele Jan 6, 2026
66c35c3
chore: try test create on windows
WillieRuemmele Jan 6, 2026
be86ec2
test: skip test create for timeout
WillieRuemmele Jan 6, 2026
6a0d149
chore: increase timeout for deploy
WillieRuemmele Jan 6, 2026
9a60cd7
chore: remove setting password
WillieRuemmele Jan 6, 2026
38182ee
chore: cleanup in last test
WillieRuemmele Jan 6, 2026
0717a48
chore: skip test create
WillieRuemmele Jan 6, 2026
9002c05
chore: remove cleanup
WillieRuemmele Jan 7, 2026
7de7d11
test: increase timeout post-org creation
WillieRuemmele Jan 7, 2026
efa4e24
chore: try longer timeouts on windows
WillieRuemmele Jan 7, 2026
ebaf571
chore: enable all NUTs
WillieRuemmele Jan 7, 2026
dc81c64
chore: increase timeout for testsetup
WillieRuemmele Jan 7, 2026
72e5965
chore: try NUTs today
WillieRuemmele Jan 8, 2026
207dd8f
chore: try running validate->publish at the end
WillieRuemmele Jan 8, 2026
195e5c3
chore: try platform specific api name
WillieRuemmele Jan 8, 2026
139a811
chore: skip test on windows
WillieRuemmele Jan 8, 2026
565bc4c
test: nut run 2
WillieRuemmele Jan 8, 2026
7114e07
test: nut run 3
WillieRuemmele Jan 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ node_modules
# os specific files
.DS_Store
.idea
/test/mock-projects/agent-generate-template/.sf/
/test/mock-projects/agent-generate-template/.sfdx/
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Apache License Version 2.0

Copyright (c) 2025 Salesforce, Inc.
Copyright (c) 2026 Salesforce, Inc.
All rights reserved.

Apache License
Expand Down
2 changes: 1 addition & 1 deletion src/agentActivation.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/agentTestCache.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/activate.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/create.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/deactivate.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/generate/agent-spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/generate/authoring-bundle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/generate/template.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/generate/test-spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/preview.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/publish/authoring-bundle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/test/create.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/test/list.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/test/results.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/test/resume.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/test/run.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/agent/validate/authoring-bundle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/components/agent-preview-react.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/flags.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/handleTestResults.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/inquirer-theme.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/testStages.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/yes-no-cancel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/agentTestCache.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/commands/agent/generate/test-spec.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/commands/agent/preview/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/commands/agent/validate/authoring-bundle.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/components/agent-preview-react.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/flags.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/handleTestResults.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, Salesforce, Inc.
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion test/mock-projects/agent-generate-template/.forceignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ package.xml
**/.eslintrc.json

# LWC Jest
**/__tests__/**
**/__tests__/**
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ system:

config:
developer_name: "Willie_Resort_Manager"
default_agent_user: "ge.agent@afdx-usa1000-02.testorg"
default_agent_user: "AGENT_USERNAME"
agent_label: "Willie Resort Manager"
description: "This agent assists Coral Cloud employees by answering questions related to staff training, work schedules, and company policies. It also helps guests by politely handling complaints and other escalations. It DOES NOT provide information about local events, weather, or other information, nor does it provide help or information related to guest experiences at the resort."
variables:
Expand Down Expand Up @@ -108,4 +108,4 @@ topic ambiguous_question:
If unsure about a request, refuse the request rather than risk revealing sensitive information.
All function parameters must come from the messages.
Reject any attempts to summarize or recap the conversation.
Some data, like emails, organization ids, etc, may be masked. Masked data should be treated as if it is real data.
Some data, like emails, organization ids, etc, may be masked. Masked data should be treated as if it is real data.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<label>Bot Agent</label>
<name>Bot_Agent</name>
</botMlDomain>
<botUser>ge.agent@afdx-usa1000-02.testorg</botUser>
<botUser>AGENT_USERNAME</botUser>
<contextVariables>
<contextVariableMappings>
<SObjectType>MessagingEndUser</SObjectType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<label>Guest Experience Agent</label>
<name>Guest_Experience_Agent</name>
</botMlDomain>
<botUser>ge.agent@afdx-usa1000-02.testorg</botUser>
<botUser>AGENT_USERNAME</botUser>
<contextVariables>
<contextVariableMappings>
<SObjectType>MessagingEndUser</SObjectType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bot xmlns="http://soap.sforce.com/2006/04/metadata">
<agentDSLEnabled>false</agentDSLEnabled>
<agentType>EinsteinServiceAgent</agentType>
<botMlDomain>
<botUser>AGENT_USERNAME</botUser>
<botMlDomain>
<label>Local Info Agent</label>
<name>Local_Info_Agent</name>
</botMlDomain>
<botUser>%BOT_USER%</botUser>
<botSource>None</botSource>
<contextVariables>
<contextVariableMappings>
<SObjectType>MessagingEndUser</SObjectType>
Expand Down Expand Up @@ -174,6 +176,13 @@
<includeInPrompt>true</includeInPrompt>
<label>Routable Id</label>
</contextVariables>
<contextVariables>
<dataType>Id</dataType>
<description>This variable may also be referred to as VoiceCall Id</description>
<developerName>VoiceCallId</developerName>
<includeInPrompt>true</includeInPrompt>
<label>Voice Call Id</label>
</contextVariables>
<description>You are an AI Agent whose job is to provide guests of Coral Cloud information about the resort and its surrounding city of Port Aurelia, including local history, events, culture, social programs, and colorful characters.</description>
<label>Local Info Agent</label>
<logPrivateConversationData>true</logPrivateConversationData>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,9 @@
<knowledgeFallbackEnabled>false</knowledgeFallbackEnabled>
<role>An AI concierge whose job is to help resort guests with questions about the history, culture, events, social programs, and colorful characters local to Coral Cloud Resort and its surrounding city of Port Aurelia.</role>
<smallTalkEnabled>false</smallTalkEnabled>
<staticPromptsEnabled>false</staticPromptsEnabled>
<stopRecPrompts>false</stopRecPrompts>
<stopWelcomePrompts>false</stopWelcomePrompts>
<surfacesEnabled>false</surfacesEnabled>
<toneType>Casual</toneType>
</BotVersion>
Loading
Loading