@promptbook/cli 0.103.0-53 â 0.103.0-54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/agents-server/src/app/admin/api-tokens/ApiTokensClient.tsx +186 -0
- package/apps/agents-server/src/app/admin/api-tokens/page.tsx +13 -0
- package/apps/agents-server/src/app/agents/[agentName]/AgentChatWrapper.tsx +10 -2
- package/apps/agents-server/src/app/agents/[agentName]/api/openai/chat/completions/route.ts +176 -0
- package/apps/agents-server/src/app/agents/[agentName]/page.tsx +24 -3
- package/apps/agents-server/src/app/api/api-tokens/route.ts +76 -0
- package/apps/agents-server/src/app/docs/[docId]/page.tsx +1 -0
- package/apps/agents-server/src/app/docs/page.tsx +1 -0
- package/apps/agents-server/src/components/Header/Header.tsx +5 -0
- package/apps/agents-server/src/components/LayoutWrapper/LayoutWrapper.tsx +2 -1
- package/apps/agents-server/src/database/migrations/2025-12-0010-llm-cache.sql +12 -0
- package/apps/agents-server/src/database/migrations/2025-12-0060-api-tokens.sql +13 -0
- package/apps/agents-server/src/database/schema.ts +51 -0
- package/apps/agents-server/src/middleware.ts +49 -1
- package/apps/agents-server/src/tools/$provideCdnForServer.ts +3 -7
- package/apps/agents-server/src/tools/$provideExecutionToolsForServer.ts +10 -1
- package/apps/agents-server/src/utils/cache/SupabaseCacheStorage.ts +55 -0
- package/apps/agents-server/src/utils/cdn/classes/VercelBlobStorage.ts +63 -0
- package/esm/index.es.js +127 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/commitments/ACTION/ACTION.d.ts +4 -0
- package/esm/typings/src/commitments/DELETE/DELETE.d.ts +4 -0
- package/esm/typings/src/commitments/FORMAT/FORMAT.d.ts +4 -0
- package/esm/typings/src/commitments/GOAL/GOAL.d.ts +4 -0
- package/esm/typings/src/commitments/KNOWLEDGE/KNOWLEDGE.d.ts +4 -0
- package/esm/typings/src/commitments/MEMORY/MEMORY.d.ts +4 -0
- package/esm/typings/src/commitments/MESSAGE/AgentMessageCommitmentDefinition.d.ts +4 -0
- package/esm/typings/src/commitments/MESSAGE/InitialMessageCommitmentDefinition.d.ts +4 -0
- package/esm/typings/src/commitments/MESSAGE/MESSAGE.d.ts +4 -0
- package/esm/typings/src/commitments/MESSAGE/UserMessageCommitmentDefinition.d.ts +4 -0
- package/esm/typings/src/commitments/META/META.d.ts +4 -0
- package/esm/typings/src/commitments/META_COLOR/META_COLOR.d.ts +4 -0
- package/esm/typings/src/commitments/META_IMAGE/META_IMAGE.d.ts +4 -0
- package/esm/typings/src/commitments/META_LINK/META_LINK.d.ts +4 -0
- package/esm/typings/src/commitments/MODEL/MODEL.d.ts +4 -0
- package/esm/typings/src/commitments/NOTE/NOTE.d.ts +4 -0
- package/esm/typings/src/commitments/PERSONA/PERSONA.d.ts +4 -0
- package/esm/typings/src/commitments/RULE/RULE.d.ts +4 -0
- package/esm/typings/src/commitments/SAMPLE/SAMPLE.d.ts +4 -0
- package/esm/typings/src/commitments/SCENARIO/SCENARIO.d.ts +4 -0
- package/esm/typings/src/commitments/STYLE/STYLE.d.ts +4 -0
- package/esm/typings/src/commitments/_base/BaseCommitmentDefinition.d.ts +5 -0
- package/esm/typings/src/commitments/_base/CommitmentDefinition.d.ts +5 -0
- package/esm/typings/src/commitments/_base/NotYetImplementedCommitmentDefinition.d.ts +4 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +127 -1
- package/umd/index.umd.js.map +1 -1
- package/apps/agents-server/src/utils/cdn/classes/DigitalOceanSpaces.ts +0 -119
|
@@ -21,6 +21,10 @@ export declare class ActionCommitmentDefinition extends BaseCommitmentDefinition
|
|
|
21
21
|
* Short one-line description of ACTION.
|
|
22
22
|
*/
|
|
23
23
|
get description(): string;
|
|
24
|
+
/**
|
|
25
|
+
* Icon for this commitment.
|
|
26
|
+
*/
|
|
27
|
+
get icon(): string;
|
|
24
28
|
/**
|
|
25
29
|
* Markdown documentation for ACTION commitment.
|
|
26
30
|
*/
|
|
@@ -24,6 +24,10 @@ export declare class DeleteCommitmentDefinition extends BaseCommitmentDefinition
|
|
|
24
24
|
* Short one-line description of DELETE/CANCEL/DISCARD/REMOVE.
|
|
25
25
|
*/
|
|
26
26
|
get description(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Icon for this commitment.
|
|
29
|
+
*/
|
|
30
|
+
get icon(): string;
|
|
27
31
|
/**
|
|
28
32
|
* Markdown documentation for DELETE commitment.
|
|
29
33
|
*/
|
|
@@ -22,6 +22,10 @@ export declare class FormatCommitmentDefinition extends BaseCommitmentDefinition
|
|
|
22
22
|
* Short one-line description of FORMAT.
|
|
23
23
|
*/
|
|
24
24
|
get description(): string;
|
|
25
|
+
/**
|
|
26
|
+
* Icon for this commitment.
|
|
27
|
+
*/
|
|
28
|
+
get icon(): string;
|
|
25
29
|
/**
|
|
26
30
|
* Markdown documentation for FORMAT commitment.
|
|
27
31
|
*/
|
|
@@ -22,6 +22,10 @@ export declare class GoalCommitmentDefinition extends BaseCommitmentDefinition<'
|
|
|
22
22
|
* Short one-line description of GOAL.
|
|
23
23
|
*/
|
|
24
24
|
get description(): string;
|
|
25
|
+
/**
|
|
26
|
+
* Icon for this commitment.
|
|
27
|
+
*/
|
|
28
|
+
get icon(): string;
|
|
25
29
|
/**
|
|
26
30
|
* Markdown documentation for GOAL commitment.
|
|
27
31
|
*/
|
|
@@ -24,6 +24,10 @@ export declare class KnowledgeCommitmentDefinition extends BaseCommitmentDefinit
|
|
|
24
24
|
* Short one-line description of KNOWLEDGE.
|
|
25
25
|
*/
|
|
26
26
|
get description(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Icon for this commitment.
|
|
29
|
+
*/
|
|
30
|
+
get icon(): string;
|
|
27
31
|
/**
|
|
28
32
|
* Markdown documentation for KNOWLEDGE commitment.
|
|
29
33
|
*/
|
|
@@ -23,6 +23,10 @@ export declare class MemoryCommitmentDefinition extends BaseCommitmentDefinition
|
|
|
23
23
|
* Short one-line description of MEMORY.
|
|
24
24
|
*/
|
|
25
25
|
get description(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Icon for this commitment.
|
|
28
|
+
*/
|
|
29
|
+
get icon(): string;
|
|
26
30
|
/**
|
|
27
31
|
* Markdown documentation for MEMORY commitment.
|
|
28
32
|
*/
|
|
@@ -20,6 +20,10 @@ export declare class AgentMessageCommitmentDefinition extends BaseCommitmentDefi
|
|
|
20
20
|
* Short one-line description of AGENT MESSAGE.
|
|
21
21
|
*/
|
|
22
22
|
get description(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Icon for this commitment.
|
|
25
|
+
*/
|
|
26
|
+
get icon(): string;
|
|
23
27
|
/**
|
|
24
28
|
* Markdown documentation for AGENT MESSAGE commitment.
|
|
25
29
|
*/
|
|
@@ -20,6 +20,10 @@ export declare class InitialMessageCommitmentDefinition extends BaseCommitmentDe
|
|
|
20
20
|
* Short one-line description of INITIAL MESSAGE.
|
|
21
21
|
*/
|
|
22
22
|
get description(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Icon for this commitment.
|
|
25
|
+
*/
|
|
26
|
+
get icon(): string;
|
|
23
27
|
/**
|
|
24
28
|
* Markdown documentation for INITIAL MESSAGE commitment.
|
|
25
29
|
*/
|
|
@@ -24,6 +24,10 @@ export declare class MessageCommitmentDefinition extends BaseCommitmentDefinitio
|
|
|
24
24
|
* Short one-line description of MESSAGE.
|
|
25
25
|
*/
|
|
26
26
|
get description(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Icon for this commitment.
|
|
29
|
+
*/
|
|
30
|
+
get icon(): string;
|
|
27
31
|
/**
|
|
28
32
|
* Markdown documentation for MESSAGE commitment.
|
|
29
33
|
*/
|
|
@@ -20,6 +20,10 @@ export declare class UserMessageCommitmentDefinition extends BaseCommitmentDefin
|
|
|
20
20
|
* Short one-line description of USER MESSAGE.
|
|
21
21
|
*/
|
|
22
22
|
get description(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Icon for this commitment.
|
|
25
|
+
*/
|
|
26
|
+
get icon(): string;
|
|
23
27
|
/**
|
|
24
28
|
* Markdown documentation for USER MESSAGE commitment.
|
|
25
29
|
*/
|
|
@@ -32,6 +32,10 @@ export declare class MetaCommitmentDefinition extends BaseCommitmentDefinition<`
|
|
|
32
32
|
* Short one-line description of META commitments.
|
|
33
33
|
*/
|
|
34
34
|
get description(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Icon for this commitment.
|
|
37
|
+
*/
|
|
38
|
+
get icon(): string;
|
|
35
39
|
/**
|
|
36
40
|
* Markdown documentation for META commitment.
|
|
37
41
|
*/
|
|
@@ -22,6 +22,10 @@ export declare class MetaColorCommitmentDefinition extends BaseCommitmentDefinit
|
|
|
22
22
|
* Short one-line description of META COLOR.
|
|
23
23
|
*/
|
|
24
24
|
get description(): string;
|
|
25
|
+
/**
|
|
26
|
+
* Icon for this commitment.
|
|
27
|
+
*/
|
|
28
|
+
get icon(): string;
|
|
25
29
|
/**
|
|
26
30
|
* Markdown documentation for META COLOR commitment.
|
|
27
31
|
*/
|
|
@@ -22,6 +22,10 @@ export declare class MetaImageCommitmentDefinition extends BaseCommitmentDefinit
|
|
|
22
22
|
* Short one-line description of META IMAGE.
|
|
23
23
|
*/
|
|
24
24
|
get description(): string;
|
|
25
|
+
/**
|
|
26
|
+
* Icon for this commitment.
|
|
27
|
+
*/
|
|
28
|
+
get icon(): string;
|
|
25
29
|
/**
|
|
26
30
|
* Markdown documentation for META IMAGE commitment.
|
|
27
31
|
*/
|
|
@@ -30,6 +30,10 @@ export declare class MetaLinkCommitmentDefinition extends BaseCommitmentDefiniti
|
|
|
30
30
|
* Short one-line description of META LINK.
|
|
31
31
|
*/
|
|
32
32
|
get description(): string;
|
|
33
|
+
/**
|
|
34
|
+
* Icon for this commitment.
|
|
35
|
+
*/
|
|
36
|
+
get icon(): string;
|
|
33
37
|
/**
|
|
34
38
|
* Markdown documentation for META LINK commitment.
|
|
35
39
|
*/
|
|
@@ -31,6 +31,10 @@ export declare class ModelCommitmentDefinition extends BaseCommitmentDefinition<
|
|
|
31
31
|
* Short one-line description of MODEL.
|
|
32
32
|
*/
|
|
33
33
|
get description(): string;
|
|
34
|
+
/**
|
|
35
|
+
* Icon for this commitment.
|
|
36
|
+
*/
|
|
37
|
+
get icon(): string;
|
|
34
38
|
/**
|
|
35
39
|
* Markdown documentation for MODEL commitment.
|
|
36
40
|
*/
|
|
@@ -32,6 +32,10 @@ export declare class NoteCommitmentDefinition extends BaseCommitmentDefinition<'
|
|
|
32
32
|
* Short one-line description of NOTE.
|
|
33
33
|
*/
|
|
34
34
|
get description(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Icon for this commitment.
|
|
37
|
+
*/
|
|
38
|
+
get icon(): string;
|
|
35
39
|
/**
|
|
36
40
|
* Markdown documentation for NOTE commitment.
|
|
37
41
|
*/
|
|
@@ -29,6 +29,10 @@ export declare class PersonaCommitmentDefinition extends BaseCommitmentDefinitio
|
|
|
29
29
|
* Short one-line description of PERSONA.
|
|
30
30
|
*/
|
|
31
31
|
get description(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Icon for this commitment.
|
|
34
|
+
*/
|
|
35
|
+
get icon(): string;
|
|
32
36
|
/**
|
|
33
37
|
* Markdown documentation for PERSONA commitment.
|
|
34
38
|
*/
|
|
@@ -21,6 +21,10 @@ export declare class RuleCommitmentDefinition extends BaseCommitmentDefinition<'
|
|
|
21
21
|
* Short one-line description of RULE/RULES.
|
|
22
22
|
*/
|
|
23
23
|
get description(): string;
|
|
24
|
+
/**
|
|
25
|
+
* Icon for this commitment.
|
|
26
|
+
*/
|
|
27
|
+
get icon(): string;
|
|
24
28
|
/**
|
|
25
29
|
* Markdown documentation for RULE/RULES commitment.
|
|
26
30
|
*/
|
|
@@ -21,6 +21,10 @@ export declare class SampleCommitmentDefinition extends BaseCommitmentDefinition
|
|
|
21
21
|
* Short one-line description of SAMPLE/EXAMPLE.
|
|
22
22
|
*/
|
|
23
23
|
get description(): string;
|
|
24
|
+
/**
|
|
25
|
+
* Icon for this commitment.
|
|
26
|
+
*/
|
|
27
|
+
get icon(): string;
|
|
24
28
|
/**
|
|
25
29
|
* Markdown documentation for SAMPLE/EXAMPLE commitment.
|
|
26
30
|
*/
|
|
@@ -23,6 +23,10 @@ export declare class ScenarioCommitmentDefinition extends BaseCommitmentDefiniti
|
|
|
23
23
|
* Short one-line description of SCENARIO.
|
|
24
24
|
*/
|
|
25
25
|
get description(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Icon for this commitment.
|
|
28
|
+
*/
|
|
29
|
+
get icon(): string;
|
|
26
30
|
/**
|
|
27
31
|
* Markdown documentation for SCENARIO commitment.
|
|
28
32
|
*/
|
|
@@ -21,6 +21,10 @@ export declare class StyleCommitmentDefinition extends BaseCommitmentDefinition<
|
|
|
21
21
|
* Short one-line description of STYLE.
|
|
22
22
|
*/
|
|
23
23
|
get description(): string;
|
|
24
|
+
/**
|
|
25
|
+
* Icon for this commitment.
|
|
26
|
+
*/
|
|
27
|
+
get icon(): string;
|
|
24
28
|
/**
|
|
25
29
|
* Markdown documentation for STYLE commitment.
|
|
26
30
|
*/
|
|
@@ -15,6 +15,11 @@ export declare abstract class BaseCommitmentDefinition<TBookCommitment extends s
|
|
|
15
15
|
* Must be implemented by each concrete commitment.
|
|
16
16
|
*/
|
|
17
17
|
abstract get description(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Icon for this commitment.
|
|
20
|
+
* It should be a single emoji.
|
|
21
|
+
*/
|
|
22
|
+
abstract get icon(): string;
|
|
18
23
|
/**
|
|
19
24
|
* Human-readable markdown documentation for this commitment, available at runtime.
|
|
20
25
|
* Must be implemented by each concrete commitment.
|
|
@@ -16,6 +16,11 @@ export type CommitmentDefinition = {
|
|
|
16
16
|
* Keep it concise; may use inline markdown like **bold** or *italic*.
|
|
17
17
|
*/
|
|
18
18
|
readonly description: string;
|
|
19
|
+
/**
|
|
20
|
+
* Icon for this commitment.
|
|
21
|
+
* It should be a single emoji.
|
|
22
|
+
*/
|
|
23
|
+
readonly icon: string;
|
|
19
24
|
/**
|
|
20
25
|
* Human-readable markdown documentation for this commitment.
|
|
21
26
|
* Should explain what the commitment does and include example usage.
|
|
@@ -14,6 +14,10 @@ export declare class NotYetImplementedCommitmentDefinition<TBookCommitment exten
|
|
|
14
14
|
* Short one-line description of a placeholder commitment.
|
|
15
15
|
*/
|
|
16
16
|
get description(): string;
|
|
17
|
+
/**
|
|
18
|
+
* Icon for this commitment.
|
|
19
|
+
*/
|
|
20
|
+
get icon(): string;
|
|
17
21
|
/**
|
|
18
22
|
* Markdown documentation available at runtime.
|
|
19
23
|
*/
|
|
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
|
|
|
15
15
|
export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
|
|
16
16
|
/**
|
|
17
17
|
* Represents the version string of the Promptbook engine.
|
|
18
|
-
* It follows semantic versioning (e.g., `0.103.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.103.0-53`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/cli",
|
|
3
|
-
"version": "0.103.0-
|
|
3
|
+
"version": "0.103.0-54",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@azure/openai": "1.0.0-beta.13",
|
|
100
100
|
"@mozilla/readability": "0.6.0",
|
|
101
101
|
"bottleneck": "2.19.5",
|
|
102
|
-
"colors": "
|
|
102
|
+
"colors": "1.4.0",
|
|
103
103
|
"commander": "12.0.0",
|
|
104
104
|
"crypto": "1.0.1",
|
|
105
105
|
"crypto-js": "4.2.0",
|
package/umd/index.umd.js
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
* @generated
|
|
57
57
|
* @see https://github.com/webgptorg/promptbook
|
|
58
58
|
*/
|
|
59
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
59
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-54';
|
|
60
60
|
/**
|
|
61
61
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
62
62
|
* Note: [đ] Ignore a discrepancy between file name and entity name
|
|
@@ -22544,6 +22544,12 @@
|
|
|
22544
22544
|
get description() {
|
|
22545
22545
|
return 'Define agent capabilities and actions it can perform.';
|
|
22546
22546
|
}
|
|
22547
|
+
/**
|
|
22548
|
+
* Icon for this commitment.
|
|
22549
|
+
*/
|
|
22550
|
+
get icon() {
|
|
22551
|
+
return 'âĄ';
|
|
22552
|
+
}
|
|
22547
22553
|
/**
|
|
22548
22554
|
* Markdown documentation for ACTION commitment.
|
|
22549
22555
|
*/
|
|
@@ -22623,6 +22629,12 @@
|
|
|
22623
22629
|
get description() {
|
|
22624
22630
|
return 'Remove or **disregard** certain information, context, or previous commitments.';
|
|
22625
22631
|
}
|
|
22632
|
+
/**
|
|
22633
|
+
* Icon for this commitment.
|
|
22634
|
+
*/
|
|
22635
|
+
get icon() {
|
|
22636
|
+
return 'đī¸';
|
|
22637
|
+
}
|
|
22626
22638
|
/**
|
|
22627
22639
|
* Markdown documentation for DELETE commitment.
|
|
22628
22640
|
*/
|
|
@@ -22739,6 +22751,12 @@
|
|
|
22739
22751
|
get description() {
|
|
22740
22752
|
return 'Specify output structure or formatting requirements.';
|
|
22741
22753
|
}
|
|
22754
|
+
/**
|
|
22755
|
+
* Icon for this commitment.
|
|
22756
|
+
*/
|
|
22757
|
+
get icon() {
|
|
22758
|
+
return 'đ';
|
|
22759
|
+
}
|
|
22742
22760
|
/**
|
|
22743
22761
|
* Markdown documentation for FORMAT commitment.
|
|
22744
22762
|
*/
|
|
@@ -22814,6 +22832,12 @@
|
|
|
22814
22832
|
get description() {
|
|
22815
22833
|
return 'Define main **goals** the AI assistant should achieve, with later goals having higher priority.';
|
|
22816
22834
|
}
|
|
22835
|
+
/**
|
|
22836
|
+
* Icon for this commitment.
|
|
22837
|
+
*/
|
|
22838
|
+
get icon() {
|
|
22839
|
+
return 'đ¯';
|
|
22840
|
+
}
|
|
22817
22841
|
/**
|
|
22818
22842
|
* Markdown documentation for GOAL commitment.
|
|
22819
22843
|
*/
|
|
@@ -22910,6 +22934,12 @@
|
|
|
22910
22934
|
get description() {
|
|
22911
22935
|
return 'Add domain **knowledge** via direct text or external sources (RAG).';
|
|
22912
22936
|
}
|
|
22937
|
+
/**
|
|
22938
|
+
* Icon for this commitment.
|
|
22939
|
+
*/
|
|
22940
|
+
get icon() {
|
|
22941
|
+
return 'đ§ ';
|
|
22942
|
+
}
|
|
22913
22943
|
/**
|
|
22914
22944
|
* Markdown documentation for KNOWLEDGE commitment.
|
|
22915
22945
|
*/
|
|
@@ -23011,6 +23041,12 @@
|
|
|
23011
23041
|
get description() {
|
|
23012
23042
|
return 'Remember past interactions and user **preferences** for personalized responses.';
|
|
23013
23043
|
}
|
|
23044
|
+
/**
|
|
23045
|
+
* Icon for this commitment.
|
|
23046
|
+
*/
|
|
23047
|
+
get icon() {
|
|
23048
|
+
return 'đ§ ';
|
|
23049
|
+
}
|
|
23014
23050
|
/**
|
|
23015
23051
|
* Markdown documentation for MEMORY commitment.
|
|
23016
23052
|
*/
|
|
@@ -23109,6 +23145,12 @@
|
|
|
23109
23145
|
get description() {
|
|
23110
23146
|
return 'Defines a **message from the agent** in the conversation history.';
|
|
23111
23147
|
}
|
|
23148
|
+
/**
|
|
23149
|
+
* Icon for this commitment.
|
|
23150
|
+
*/
|
|
23151
|
+
get icon() {
|
|
23152
|
+
return 'đ¤';
|
|
23153
|
+
}
|
|
23112
23154
|
/**
|
|
23113
23155
|
* Markdown documentation for AGENT MESSAGE commitment.
|
|
23114
23156
|
*/
|
|
@@ -23180,6 +23222,12 @@
|
|
|
23180
23222
|
get description() {
|
|
23181
23223
|
return 'Defines the **initial message** shown to the user when the chat starts.';
|
|
23182
23224
|
}
|
|
23225
|
+
/**
|
|
23226
|
+
* Icon for this commitment.
|
|
23227
|
+
*/
|
|
23228
|
+
get icon() {
|
|
23229
|
+
return 'đ';
|
|
23230
|
+
}
|
|
23183
23231
|
/**
|
|
23184
23232
|
* Markdown documentation for INITIAL MESSAGE commitment.
|
|
23185
23233
|
*/
|
|
@@ -23238,6 +23286,12 @@
|
|
|
23238
23286
|
get description() {
|
|
23239
23287
|
return 'Include actual **messages** the AI assistant has sent during conversation history.';
|
|
23240
23288
|
}
|
|
23289
|
+
/**
|
|
23290
|
+
* Icon for this commitment.
|
|
23291
|
+
*/
|
|
23292
|
+
get icon() {
|
|
23293
|
+
return 'đŦ';
|
|
23294
|
+
}
|
|
23241
23295
|
/**
|
|
23242
23296
|
* Markdown documentation for MESSAGE commitment.
|
|
23243
23297
|
*/
|
|
@@ -23344,6 +23398,12 @@
|
|
|
23344
23398
|
get description() {
|
|
23345
23399
|
return 'Defines a **message from the user** in the conversation history.';
|
|
23346
23400
|
}
|
|
23401
|
+
/**
|
|
23402
|
+
* Icon for this commitment.
|
|
23403
|
+
*/
|
|
23404
|
+
get icon() {
|
|
23405
|
+
return 'đ§';
|
|
23406
|
+
}
|
|
23347
23407
|
/**
|
|
23348
23408
|
* Markdown documentation for USER MESSAGE commitment.
|
|
23349
23409
|
*/
|
|
@@ -23417,6 +23477,12 @@
|
|
|
23417
23477
|
get description() {
|
|
23418
23478
|
return 'Set meta-information about the agent (IMAGE, LINK, TITLE, DESCRIPTION, etc.).';
|
|
23419
23479
|
}
|
|
23480
|
+
/**
|
|
23481
|
+
* Icon for this commitment.
|
|
23482
|
+
*/
|
|
23483
|
+
get icon() {
|
|
23484
|
+
return 'âšī¸';
|
|
23485
|
+
}
|
|
23420
23486
|
/**
|
|
23421
23487
|
* Markdown documentation for META commitment.
|
|
23422
23488
|
*/
|
|
@@ -23544,6 +23610,12 @@
|
|
|
23544
23610
|
get description() {
|
|
23545
23611
|
return "Set the agent's accent color.";
|
|
23546
23612
|
}
|
|
23613
|
+
/**
|
|
23614
|
+
* Icon for this commitment.
|
|
23615
|
+
*/
|
|
23616
|
+
get icon() {
|
|
23617
|
+
return 'đ¨';
|
|
23618
|
+
}
|
|
23547
23619
|
/**
|
|
23548
23620
|
* Markdown documentation for META COLOR commitment.
|
|
23549
23621
|
*/
|
|
@@ -23622,6 +23694,12 @@
|
|
|
23622
23694
|
get description() {
|
|
23623
23695
|
return "Set the agent's profile image URL.";
|
|
23624
23696
|
}
|
|
23697
|
+
/**
|
|
23698
|
+
* Icon for this commitment.
|
|
23699
|
+
*/
|
|
23700
|
+
get icon() {
|
|
23701
|
+
return 'đŧī¸';
|
|
23702
|
+
}
|
|
23625
23703
|
/**
|
|
23626
23704
|
* Markdown documentation for META IMAGE commitment.
|
|
23627
23705
|
*/
|
|
@@ -23712,6 +23790,12 @@
|
|
|
23712
23790
|
get description() {
|
|
23713
23791
|
return 'Enforce AI model requirements including name and technical parameters.';
|
|
23714
23792
|
}
|
|
23793
|
+
/**
|
|
23794
|
+
* Icon for this commitment.
|
|
23795
|
+
*/
|
|
23796
|
+
get icon() {
|
|
23797
|
+
return 'âī¸';
|
|
23798
|
+
}
|
|
23715
23799
|
/**
|
|
23716
23800
|
* Markdown documentation for MODEL commitment.
|
|
23717
23801
|
*/
|
|
@@ -23947,6 +24031,12 @@
|
|
|
23947
24031
|
get description() {
|
|
23948
24032
|
return 'Add developer-facing notes without changing behavior or output.';
|
|
23949
24033
|
}
|
|
24034
|
+
/**
|
|
24035
|
+
* Icon for this commitment.
|
|
24036
|
+
*/
|
|
24037
|
+
get icon() {
|
|
24038
|
+
return 'đ';
|
|
24039
|
+
}
|
|
23950
24040
|
/**
|
|
23951
24041
|
* Markdown documentation for NOTE commitment.
|
|
23952
24042
|
*/
|
|
@@ -24049,6 +24139,12 @@
|
|
|
24049
24139
|
get description() {
|
|
24050
24140
|
return 'Define who the agent is: background, expertise, and personality.';
|
|
24051
24141
|
}
|
|
24142
|
+
/**
|
|
24143
|
+
* Icon for this commitment.
|
|
24144
|
+
*/
|
|
24145
|
+
get icon() {
|
|
24146
|
+
return 'đ¤';
|
|
24147
|
+
}
|
|
24052
24148
|
/**
|
|
24053
24149
|
* Markdown documentation for PERSONA commitment.
|
|
24054
24150
|
*/
|
|
@@ -24176,6 +24272,12 @@
|
|
|
24176
24272
|
get description() {
|
|
24177
24273
|
return 'Add behavioral rules the agent must follow.';
|
|
24178
24274
|
}
|
|
24275
|
+
/**
|
|
24276
|
+
* Icon for this commitment.
|
|
24277
|
+
*/
|
|
24278
|
+
get icon() {
|
|
24279
|
+
return 'âī¸';
|
|
24280
|
+
}
|
|
24179
24281
|
/**
|
|
24180
24282
|
* Markdown documentation for RULE/RULES commitment.
|
|
24181
24283
|
*/
|
|
@@ -24252,6 +24354,12 @@
|
|
|
24252
24354
|
get description() {
|
|
24253
24355
|
return 'Provide example responses to guide behavior.';
|
|
24254
24356
|
}
|
|
24357
|
+
/**
|
|
24358
|
+
* Icon for this commitment.
|
|
24359
|
+
*/
|
|
24360
|
+
get icon() {
|
|
24361
|
+
return 'đ';
|
|
24362
|
+
}
|
|
24255
24363
|
/**
|
|
24256
24364
|
* Markdown documentation for SAMPLE/EXAMPLE commitment.
|
|
24257
24365
|
*/
|
|
@@ -24329,6 +24437,12 @@
|
|
|
24329
24437
|
get description() {
|
|
24330
24438
|
return 'Define specific **situations** or contexts for AI responses, with later scenarios having higher priority.';
|
|
24331
24439
|
}
|
|
24440
|
+
/**
|
|
24441
|
+
* Icon for this commitment.
|
|
24442
|
+
*/
|
|
24443
|
+
get icon() {
|
|
24444
|
+
return 'đ';
|
|
24445
|
+
}
|
|
24332
24446
|
/**
|
|
24333
24447
|
* Markdown documentation for SCENARIO commitment.
|
|
24334
24448
|
*/
|
|
@@ -24445,6 +24559,12 @@
|
|
|
24445
24559
|
get description() {
|
|
24446
24560
|
return 'Control the tone and writing style of responses.';
|
|
24447
24561
|
}
|
|
24562
|
+
/**
|
|
24563
|
+
* Icon for this commitment.
|
|
24564
|
+
*/
|
|
24565
|
+
get icon() {
|
|
24566
|
+
return 'đī¸';
|
|
24567
|
+
}
|
|
24448
24568
|
/**
|
|
24449
24569
|
* Markdown documentation for STYLE commitment.
|
|
24450
24570
|
*/
|
|
@@ -24514,6 +24634,12 @@
|
|
|
24514
24634
|
get description() {
|
|
24515
24635
|
return 'Placeholder commitment that appends content verbatim to the system message.';
|
|
24516
24636
|
}
|
|
24637
|
+
/**
|
|
24638
|
+
* Icon for this commitment.
|
|
24639
|
+
*/
|
|
24640
|
+
get icon() {
|
|
24641
|
+
return 'đ§';
|
|
24642
|
+
}
|
|
24517
24643
|
/**
|
|
24518
24644
|
* Markdown documentation available at runtime.
|
|
24519
24645
|
*/
|