@vibes.diy/api-types 14.3.190 → 14.3.191

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.
@@ -1,7 +1,16 @@
1
+ export declare const agentFileEdit: import("arktype/internal/variants/object.ts").ObjectType<{
2
+ oldString: string;
3
+ newString: string;
4
+ }, {}>;
5
+ export type AgentFileEdit = typeof agentFileEdit.infer;
1
6
  export declare const agentFileChange: import("arktype/internal/variants/object.ts").ObjectType<{
2
7
  path: string;
3
8
  original?: string | undefined;
4
9
  contents: string;
10
+ edits?: {
11
+ oldString: string;
12
+ newString: string;
13
+ }[] | undefined;
5
14
  }, {}>;
6
15
  export type AgentFileChange = typeof agentFileChange.infer;
7
16
  export declare const agentFileCommit: import("arktype/internal/variants/object.ts").ObjectType<{
@@ -9,6 +18,10 @@ export declare const agentFileCommit: import("arktype/internal/variants/object.t
9
18
  path: string;
10
19
  original?: string | undefined;
11
20
  contents: string;
21
+ edits?: {
22
+ oldString: string;
23
+ newString: string;
24
+ }[] | undefined;
12
25
  }[];
13
26
  }, {}>;
14
27
  export type AgentFileCommit = typeof agentFileCommit.infer;
@@ -1,5 +1,6 @@
1
1
  import { type } from "arktype";
2
2
  import { lazyType } from "./lazy-type.js";
3
- export const agentFileChange = lazyType(() => type({ path: "string", "original?": "string", contents: "string" }));
3
+ export const agentFileEdit = lazyType(() => type({ oldString: "string", newString: "string" }));
4
+ export const agentFileChange = lazyType(() => type({ path: "string", "original?": "string", contents: "string", "edits?": agentFileEdit.array() }));
4
5
  export const agentFileCommit = lazyType(() => type({ changes: agentFileChange.array() }));
5
6
  //# sourceMappingURL=agent-file-edit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-file-edit.js","sourceRoot":"","sources":["../jsr/agent-file-edit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;AAEnH,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,eAAe,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"agent-file-edit.js","sourceRoot":"","sources":["../jsr/agent-file-edit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;AAQhG,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,GAAG,EAAE,CAC3C,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,CAAC,KAAK,EAAE,EAAE,CAAC,CACrG,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,eAAe,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC"}
package/chat.d.ts CHANGED
@@ -865,6 +865,10 @@ export declare const reqPromptFSUpdateChatSection: import("arktype/internal/vari
865
865
  path: string;
866
866
  original?: string | undefined;
867
867
  contents: string;
868
+ edits?: {
869
+ oldString: string;
870
+ newString: string;
871
+ }[] | undefined;
868
872
  }[];
869
873
  } | undefined;
870
874
  rewriteNature?: "collaborative" | "open" | "sensitive" | undefined;
@@ -1553,6 +1557,10 @@ export declare const reqPromptFSChatSection: import("arktype/internal/variants/o
1553
1557
  path: string;
1554
1558
  original?: string | undefined;
1555
1559
  contents: string;
1560
+ edits?: {
1561
+ oldString: string;
1562
+ newString: string;
1563
+ }[] | undefined;
1556
1564
  }[];
1557
1565
  } | undefined;
1558
1566
  rewriteNature?: "collaborative" | "open" | "sensitive" | undefined;
@@ -1873,6 +1881,10 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
1873
1881
  path: string;
1874
1882
  original?: string | undefined;
1875
1883
  contents: string;
1884
+ edits?: {
1885
+ oldString: string;
1886
+ newString: string;
1887
+ }[] | undefined;
1876
1888
  }[];
1877
1889
  } | undefined;
1878
1890
  rewriteNature?: "collaborative" | "open" | "sensitive" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "14.3.190",
3
+ "version": "14.3.191",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@adviser/cement": "~0.5.34",
23
23
  "@cloudflare/workers-types": "~5.20261011.1",
24
- "@vibes.diy/call-ai-v2": "14.3.190",
25
- "@vibes.diy/identity": "14.3.190",
26
- "@vibes.diy/vibe-types": "14.3.190",
24
+ "@vibes.diy/call-ai-v2": "14.3.191",
25
+ "@vibes.diy/identity": "14.3.191",
26
+ "@vibes.diy/vibe-types": "14.3.191",
27
27
  "arktype": "~2.2.8"
28
28
  },
29
29
  "repository": {