@theokit/sdk 3.1.0 → 3.2.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/CHANGELOG.md +16 -0
- package/dist/a2a/index.cjs +166 -44
- package/dist/a2a/index.cjs.map +1 -1
- package/dist/a2a/index.js +166 -44
- package/dist/a2a/index.js.map +1 -1
- package/dist/{cron-C2jWAvlQ.d.cts → cron-4u1UdmgC.d.cts} +1 -1
- package/dist/{cron-BLRe166v.d.ts → cron-DuhVPer6.d.ts} +1 -1
- package/dist/cron.cjs +152 -35
- package/dist/cron.cjs.map +1 -1
- package/dist/cron.d.cts +2 -2
- package/dist/cron.d.ts +2 -2
- package/dist/cron.js +152 -35
- package/dist/cron.js.map +1 -1
- package/dist/{errors-D_Bfo30u.d.ts → errors-_fPS0X80.d.ts} +1 -1
- package/dist/{errors-DZpCGlYv.d.cts → errors-jxK4yfp5.d.cts} +1 -1
- package/dist/errors.d.cts +2 -2
- package/dist/eval.cjs +152 -35
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +152 -35
- package/dist/eval.js.map +1 -1
- package/dist/index.cjs +152 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +152 -35
- package/dist/index.js.map +1 -1
- package/dist/internal/runtime/context/context-discovery.d.ts +1 -1
- package/dist/internal/runtime/context/context-glob.d.ts +1 -0
- package/dist/internal/runtime/context/context-manager.d.ts +18 -1
- package/dist/internal/runtime/context/context-mdc-parser.d.ts +7 -6
- package/dist/internal/runtime/context/context-rules-frontmatter.d.ts +30 -0
- package/dist/internal/runtime/context/context-yaml-lite.d.ts +26 -0
- package/dist/project.cjs.map +1 -1
- package/dist/project.js.map +1 -1
- package/dist/{run-CLXKMRgq.d.cts → run-CrHz9BAP.d.cts} +9 -0
- package/dist/{run-CLXKMRgq.d.ts → run-CrHz9BAP.d.ts} +9 -0
- package/dist/types/run.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1242,6 +1242,15 @@ interface SendOptions {
|
|
|
1242
1242
|
* - `[t1, t2]` → use exactly these tools for this run
|
|
1243
1243
|
*/
|
|
1244
1244
|
tools?: CustomTool[];
|
|
1245
|
+
/**
|
|
1246
|
+
* The set of repo-relative file paths in scope for THIS send (local runtime).
|
|
1247
|
+
* Declares "which files am I working on" so path-scoped rule files
|
|
1248
|
+
* (`.theokit/rules/*.md` with `paths:`/`globs:`, and `.cursor/rules/*.mdc`
|
|
1249
|
+
* globs) activate when a pattern matches one of these paths. `alwaysApply`
|
|
1250
|
+
* rules load regardless. Omit ⇒ only unconditional rules load (the create-time
|
|
1251
|
+
* snapshot is untouched). Matching is glob-based (`**`, `*`, `?`).
|
|
1252
|
+
*/
|
|
1253
|
+
contextPaths?: readonly string[];
|
|
1245
1254
|
onStep?: (args: {
|
|
1246
1255
|
step: ConversationStep;
|
|
1247
1256
|
}) => void | Promise<void>;
|
package/dist/types/run.d.ts
CHANGED
|
@@ -334,6 +334,15 @@ export interface SendOptions {
|
|
|
334
334
|
* - `[t1, t2]` → use exactly these tools for this run
|
|
335
335
|
*/
|
|
336
336
|
tools?: CustomTool[];
|
|
337
|
+
/**
|
|
338
|
+
* The set of repo-relative file paths in scope for THIS send (local runtime).
|
|
339
|
+
* Declares "which files am I working on" so path-scoped rule files
|
|
340
|
+
* (`.theokit/rules/*.md` with `paths:`/`globs:`, and `.cursor/rules/*.mdc`
|
|
341
|
+
* globs) activate when a pattern matches one of these paths. `alwaysApply`
|
|
342
|
+
* rules load regardless. Omit ⇒ only unconditional rules load (the create-time
|
|
343
|
+
* snapshot is untouched). Matching is glob-based (`**`, `*`, `?`).
|
|
344
|
+
*/
|
|
345
|
+
contextPaths?: readonly string[];
|
|
337
346
|
onStep?: (args: {
|
|
338
347
|
step: ConversationStep;
|
|
339
348
|
}) => void | Promise<void>;
|
package/package.json
CHANGED