@tomradex/agent 0.0.0-stage → 0.15.0
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/LICENSE +204 -0
- package/dist/evaluation.d.ts +108 -0
- package/dist/failure.d.ts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/kits.d.ts +17 -0
- package/dist/limits.d.ts +18 -0
- package/dist/media.d.ts +29 -0
- package/dist/native-media.d.ts +28 -0
- package/dist/playbooks.d.ts +25 -0
- package/dist/prompt.d.ts +66 -0
- package/dist/recap.d.ts +12 -0
- package/dist/runtime.js +1 -0
- package/dist/service.d.ts +445 -0
- package/dist/steps.d.ts +11 -0
- package/dist/store.d.ts +188 -0
- package/dist/tokens.d.ts +21 -0
- package/dist/types.d.ts +984 -0
- package/dist/words.d.ts +50 -0
- package/package.json +49 -4
- package/README.md +0 -3
package/dist/words.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/** What the platform itself writes into a conversation, in the person's language at the moment it is written. */
|
|
2
|
+
export declare const AGENT_WORDS: import("@tomradex/domain").WordBook<{
|
|
3
|
+
readonly humanTookOver: "The human took over this delivery. Agent execution has stopped.";
|
|
4
|
+
readonly cancelledWaiting: "Cancelled the waiting question — the engine changed.";
|
|
5
|
+
readonly engineSwitched: "Engine switched to {{title}}.";
|
|
6
|
+
readonly revertedOne: "Reverted {{n}} change from this run{{kept}}.";
|
|
7
|
+
readonly revertedMany: "Reverted {{n}} changes from this run{{kept}}.";
|
|
8
|
+
readonly revertedKept: "; kept {{labels}} ({{reason}})";
|
|
9
|
+
readonly workflowGone: "The waiting workflow \"{{name}}\" is no longer installed.";
|
|
10
|
+
readonly stopped: "Stopped.";
|
|
11
|
+
readonly tryAsk: "Reply with the single word OK.";
|
|
12
|
+
readonly tryTimeout: "no answer within {{s}} s";
|
|
13
|
+
readonly timeLimit: "Stopped: the run reached its time limit ({{duration}}).{{hint}}";
|
|
14
|
+
readonly raiseTimeLimit: " To give a conversation more time, raise “Time limit per run” in Settings → Assistant.";
|
|
15
|
+
readonly minutes: "{{n}} min";
|
|
16
|
+
readonly seconds: "{{n}} s";
|
|
17
|
+
readonly budget: "Stopped after its step budget for one turn — say “continue” to pick up from here.";
|
|
18
|
+
readonly interrupted: "Interrupted — the app closed while this run was in progress.";
|
|
19
|
+
readonly sessionLost: "{{title}} no longer has this conversation's session (its history may have moved or been cleared). Continuing in a new session with the conversation so far.";
|
|
20
|
+
readonly recommendedByType: "Picked from the kind of work the ticket describes.";
|
|
21
|
+
readonly limited: "Hit a usage limit{{lifts}}. {{then}}";
|
|
22
|
+
readonly limitLiftsAt: "; it lifts at {{when}}";
|
|
23
|
+
readonly limitNextTry: " — it did not say when it lifts, so the next try is at {{when}}";
|
|
24
|
+
readonly limitResumes: "Tomrade continues this conversation then.";
|
|
25
|
+
readonly limitContinue: "Continue it then.";
|
|
26
|
+
readonly limitGaveUp: "Still limited after {{n}} tries in a row, so Tomrade stops trying on its own. Continue it once the limit has lifted.";
|
|
27
|
+
readonly continueAfterLimit: "The usage limit has lifted. Continue where you left off.";
|
|
28
|
+
readonly proposeRule: "Add this to the project's rules, for every agent from now on?\n\n{{rule}}";
|
|
29
|
+
readonly addRule: "Add rule";
|
|
30
|
+
readonly skipRule: "Don't add";
|
|
31
|
+
readonly archivedReadOnly: "This conversation is archived. Restore it from the archive to keep talking.";
|
|
32
|
+
readonly reopenToContinue: "{{key}} is done. Reopen it to keep working in this conversation.";
|
|
33
|
+
readonly finishedNoWorktree: "{{key}} is done and its worktree is gone. Reopen the ticket and Start it to bring the work back.";
|
|
34
|
+
readonly untilTomorrow: "tomorrow {{time}}";
|
|
35
|
+
readonly untilDate: "{{month}} {{day}} {{time}}";
|
|
36
|
+
readonly month1: "Jan";
|
|
37
|
+
readonly month2: "Feb";
|
|
38
|
+
readonly month3: "Mar";
|
|
39
|
+
readonly month4: "Apr";
|
|
40
|
+
readonly month5: "May";
|
|
41
|
+
readonly month6: "Jun";
|
|
42
|
+
readonly month7: "Jul";
|
|
43
|
+
readonly month8: "Aug";
|
|
44
|
+
readonly month9: "Sep";
|
|
45
|
+
readonly month10: "Oct";
|
|
46
|
+
readonly month11: "Nov";
|
|
47
|
+
readonly month12: "Dec";
|
|
48
|
+
}>;
|
|
49
|
+
export type AgentWords = ReturnType<typeof AGENT_WORDS>;
|
|
50
|
+
//# sourceMappingURL=words.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomradex/agent",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.15.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"author": "Haoyuan Tang",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=22"
|
|
8
|
+
},
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"description": "ctx.agent — the platform every engine runs on: threads, runs, the ledger, blocks, suspended workflows, run-scoped undo, and the engine/workflow/playbook/policy registries — declarations for full-mode plugins; Tomrade provides the code at run time",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"tomrade",
|
|
16
|
+
"tomrade-plugin",
|
|
17
|
+
"types"
|
|
18
|
+
],
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/runtime.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@tomradex/db": "0.15.0",
|
|
31
|
+
"@tomradex/domain": "0.2.18",
|
|
32
|
+
"@tomradex/fields": "0.15.0",
|
|
33
|
+
"@tomradex/hub": "0.15.0",
|
|
34
|
+
"@tomradex/ipc": "0.15.0",
|
|
35
|
+
"@tomradex/llm": "0.15.0",
|
|
36
|
+
"@tomradex/oplog": "0.15.0",
|
|
37
|
+
"@tomradex/settings": "0.15.0",
|
|
38
|
+
"@tomradex/tools": "0.15.0",
|
|
39
|
+
"@tomradex/write": "0.15.0",
|
|
40
|
+
"cordis": "4.0.0-rc.8",
|
|
41
|
+
"zod": "^4.4.3"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"yaml": "^2.9.0"
|
|
45
|
+
},
|
|
46
|
+
"peerDependenciesMeta": {
|
|
47
|
+
"yaml": {
|
|
48
|
+
"optional": true
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
package/README.md
DELETED