@makaio/framework 1.0.0-dev-1784806252593 → 1.0.0-dev-1784889676396

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.
Files changed (68) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/clients/index.d.mts +5 -5
  3. package/dist/{context-resolution-B5IH2Z9v.d.mts → context-resolution-B9ANWbG0.d.mts} +10 -10
  4. package/dist/contracts/adapter/index.d.mts +2 -2
  5. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  6. package/dist/contracts/artifact/index.d.mts +2 -2
  7. package/dist/contracts/client/index.d.mts +1 -1
  8. package/dist/contracts/extension/index.d.mts +3 -3
  9. package/dist/contracts/facet/index.d.mts +1 -1
  10. package/dist/contracts/harness/index.d.mts +1 -1
  11. package/dist/contracts/index.d.mts +66 -66
  12. package/dist/contracts/materialization/index.d.mts +3 -3
  13. package/dist/contracts/session/index.d.mts +2 -2
  14. package/dist/contracts/shared/index.d.mts +1 -1
  15. package/dist/contracts/variant/index.d.mts +1 -1
  16. package/dist/contracts/workflow/index.d.mts +2 -2
  17. package/dist/{index-g36yJDge.d.mts → index-0Ju2i8gV.d.mts} +6 -6
  18. package/dist/{index-4NQLoI7R.d.mts → index-7FjcxGlK.d.mts} +1 -1
  19. package/dist/{index-B6SBIKyk.d.mts → index-BDDbcWNI.d.mts} +3 -3
  20. package/dist/{index-DeoKITib.d.mts → index-BMx59xb7.d.mts} +85 -85
  21. package/dist/{index-DSyyWwR2.d.mts → index-Bi5jFT9S.d.mts} +24 -24
  22. package/dist/{index-D73PTKXG2.d.mts → index-Bs3CXR232.d.mts} +1 -1
  23. package/dist/{index-BF-ZfYo4.d.mts → index-CKO9S6oo.d.mts} +6 -6
  24. package/dist/{index-CYfiCzb-.d.mts → index-CjyfQ_vQ.d.mts} +1 -1
  25. package/dist/{index-D9Tk7hyM.d.mts → index-CnXXq6sW.d.mts} +29 -29
  26. package/dist/{index-BXgsQUhf.d.mts → index-CtUTCAJ6.d.mts} +8 -8
  27. package/dist/{index-y5-qCuUL.d.mts → index-CvmWRumB.d.mts} +98 -98
  28. package/dist/{index-BHQXXd-O.d.mts → index-Cw84_Dqi.d.mts} +4 -4
  29. package/dist/{index-Dfl1vniO.d.mts → index-D43lQCHs.d.mts} +95 -95
  30. package/dist/{index-CzKLLQLw.d.mts → index-DUf47Jn_.d.mts} +8 -8
  31. package/dist/{index-z9bcglqL.d.mts → index-dkvGHN10.d.mts} +10 -10
  32. package/dist/kernel/extension/index.d.mts +1 -1
  33. package/dist/kernel/index.d.mts +2 -2
  34. package/dist/kernel/observability/index.d.mts +1 -1
  35. package/dist/{namespace-BeV7LST-.d.mts → namespace-BetqZA7Z.d.mts} +2 -2
  36. package/dist/{namespace-DRHnU5Yi2.d.mts → namespace-BphMM6S82.d.mts} +8 -8
  37. package/dist/{namespace-Dvo_7BQw.d.mts → namespace-CI313bRv.d.mts} +2 -2
  38. package/dist/{namespace-8-GrdcbF.d.mts → namespace-CriPb5wY.d.mts} +20 -20
  39. package/dist/{namespace-Db_PFX3v.d.mts → namespace-zOfq1Uhn.d.mts} +27 -27
  40. package/dist/package.json +1 -1
  41. package/dist/{schema-CfMsufSb.d.mts → schema-BO9TgmOs.d.mts} +1 -1
  42. package/dist/{schemas-1ahuxM83.d.mts → schemas-BDC2Nqj1.d.mts} +17 -17
  43. package/dist/{schemas-SsGbBOZ-.d.mts → schemas-CbMWN9-z.d.mts} +2 -2
  44. package/dist/services/agent-runtime/index.d.mts +2 -2
  45. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  46. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  47. package/dist/services/context-rules/index.d.mts +6 -6
  48. package/dist/services/execution-target/index.d.mts +1 -1
  49. package/dist/services/git/namespace.d.mts +4 -4
  50. package/dist/services/git/schemas.d.mts +3 -3
  51. package/dist/services/harness/index.d.mts +3 -3
  52. package/dist/services/index.d.mts +24 -24
  53. package/dist/services/session/index.d.mts +5 -5
  54. package/dist/services/session/messages/namespace.d.mts +1 -1
  55. package/dist/services/session/session-events/namespace.d.mts +1 -1
  56. package/dist/services/session/storage/namespace.d.mts +1 -1
  57. package/dist/services/session/storage/schema.d.mts +1 -1
  58. package/dist/services/settings/namespace.d.mts +14 -14
  59. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  60. package/dist/services/subagent-template/index.d.mts +2 -2
  61. package/dist/services/subagent-template/namespace.d.mts +1 -1
  62. package/dist/services/subagent-template/schemas.d.mts +1 -1
  63. package/dist/{session-lineage-D4z26OtM.d.mts → session-lineage-Cte63dGx.d.mts} +1 -1
  64. package/dist/{transition-BuUKc2J1.d.mts → transition-BodgGLZx.d.mts} +1 -1
  65. package/dist/{types-D2KG8ewJ.d.mts → types-Bzxo7ATi.d.mts} +36 -36
  66. package/dist/{view-builder-BktOepKR.d.mts → view-builder-tU7iaxrk.d.mts} +4 -4
  67. package/dist/workflow-engine/index.d.mts +77 -77
  68. package/package.json +1 -1
@@ -548,8 +548,8 @@ declare const SessionEventStorageNamespace$1: {
548
548
  kind: _$zod.ZodEnum<{
549
549
  fork: "fork";
550
550
  subagent: "subagent";
551
- compress: "compress";
552
551
  branch: "branch";
552
+ compress: "compress";
553
553
  rewrite: "rewrite";
554
554
  coordinator: "coordinator";
555
555
  aside: "aside";
@@ -585,8 +585,8 @@ declare const SessionEventStorageNamespace$1: {
585
585
  type: _$zod.ZodLiteral<"locality.degraded">;
586
586
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
587
587
  intent: _$zod.ZodEnum<{
588
- fork: "fork";
589
588
  resume: "resume";
589
+ fork: "fork";
590
590
  }>;
591
591
  verdictKind: _$zod.ZodLiteral<"degrade">;
592
592
  reason: _$zod.ZodEnum<{
@@ -610,8 +610,8 @@ declare const SessionEventStorageNamespace$1: {
610
610
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
611
611
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
612
612
  intent: _$zod.ZodEnum<{
613
- fork: "fork";
614
613
  resume: "resume";
614
+ fork: "fork";
615
615
  }>;
616
616
  verdictKind: _$zod.ZodLiteral<"foreign">;
617
617
  foreignMachineId: _$zod.ZodString;
@@ -929,8 +929,8 @@ declare const SessionEventStorageNamespace$1: {
929
929
  kind: _$zod.ZodEnum<{
930
930
  fork: "fork";
931
931
  subagent: "subagent";
932
- compress: "compress";
933
932
  branch: "branch";
933
+ compress: "compress";
934
934
  rewrite: "rewrite";
935
935
  coordinator: "coordinator";
936
936
  aside: "aside";
@@ -966,8 +966,8 @@ declare const SessionEventStorageNamespace$1: {
966
966
  type: _$zod.ZodLiteral<"locality.degraded">;
967
967
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
968
968
  intent: _$zod.ZodEnum<{
969
- fork: "fork";
970
969
  resume: "resume";
970
+ fork: "fork";
971
971
  }>;
972
972
  verdictKind: _$zod.ZodLiteral<"degrade">;
973
973
  reason: _$zod.ZodEnum<{
@@ -991,8 +991,8 @@ declare const SessionEventStorageNamespace$1: {
991
991
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
992
992
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
993
993
  intent: _$zod.ZodEnum<{
994
- fork: "fork";
995
994
  resume: "resume";
995
+ fork: "fork";
996
996
  }>;
997
997
  verdictKind: _$zod.ZodLiteral<"foreign">;
998
998
  foreignMachineId: _$zod.ZodString;
@@ -1300,8 +1300,8 @@ declare const SessionEventStorageNamespace$1: {
1300
1300
  kind: _$zod.ZodEnum<{
1301
1301
  fork: "fork";
1302
1302
  subagent: "subagent";
1303
- compress: "compress";
1304
1303
  branch: "branch";
1304
+ compress: "compress";
1305
1305
  rewrite: "rewrite";
1306
1306
  coordinator: "coordinator";
1307
1307
  aside: "aside";
@@ -1337,8 +1337,8 @@ declare const SessionEventStorageNamespace$1: {
1337
1337
  type: _$zod.ZodLiteral<"locality.degraded">;
1338
1338
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1339
1339
  intent: _$zod.ZodEnum<{
1340
- fork: "fork";
1341
1340
  resume: "resume";
1341
+ fork: "fork";
1342
1342
  }>;
1343
1343
  verdictKind: _$zod.ZodLiteral<"degrade">;
1344
1344
  reason: _$zod.ZodEnum<{
@@ -1362,8 +1362,8 @@ declare const SessionEventStorageNamespace$1: {
1362
1362
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1363
1363
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1364
1364
  intent: _$zod.ZodEnum<{
1365
- fork: "fork";
1366
1365
  resume: "resume";
1366
+ fork: "fork";
1367
1367
  }>;
1368
1368
  verdictKind: _$zod.ZodLiteral<"foreign">;
1369
1369
  foreignMachineId: _$zod.ZodString;
@@ -1679,8 +1679,8 @@ declare const SessionEventStorageNamespace$1: {
1679
1679
  kind: _$zod.ZodEnum<{
1680
1680
  fork: "fork";
1681
1681
  subagent: "subagent";
1682
- compress: "compress";
1683
1682
  branch: "branch";
1683
+ compress: "compress";
1684
1684
  rewrite: "rewrite";
1685
1685
  coordinator: "coordinator";
1686
1686
  aside: "aside";
@@ -1716,8 +1716,8 @@ declare const SessionEventStorageNamespace$1: {
1716
1716
  type: _$zod.ZodLiteral<"locality.degraded">;
1717
1717
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1718
1718
  intent: _$zod.ZodEnum<{
1719
- fork: "fork";
1720
1719
  resume: "resume";
1720
+ fork: "fork";
1721
1721
  }>;
1722
1722
  verdictKind: _$zod.ZodLiteral<"degrade">;
1723
1723
  reason: _$zod.ZodEnum<{
@@ -1741,8 +1741,8 @@ declare const SessionEventStorageNamespace$1: {
1741
1741
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1742
1742
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1743
1743
  intent: _$zod.ZodEnum<{
1744
- fork: "fork";
1745
1744
  resume: "resume";
1745
+ fork: "fork";
1746
1746
  }>;
1747
1747
  verdictKind: _$zod.ZodLiteral<"foreign">;
1748
1748
  foreignMachineId: _$zod.ZodString;
@@ -2046,8 +2046,8 @@ declare const SessionEventStorageNamespace$1: {
2046
2046
  kind: _$zod.ZodEnum<{
2047
2047
  fork: "fork";
2048
2048
  subagent: "subagent";
2049
- compress: "compress";
2050
2049
  branch: "branch";
2050
+ compress: "compress";
2051
2051
  rewrite: "rewrite";
2052
2052
  coordinator: "coordinator";
2053
2053
  aside: "aside";
@@ -2083,8 +2083,8 @@ declare const SessionEventStorageNamespace$1: {
2083
2083
  type: _$zod.ZodLiteral<"locality.degraded">;
2084
2084
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2085
2085
  intent: _$zod.ZodEnum<{
2086
- fork: "fork";
2087
2086
  resume: "resume";
2087
+ fork: "fork";
2088
2088
  }>;
2089
2089
  verdictKind: _$zod.ZodLiteral<"degrade">;
2090
2090
  reason: _$zod.ZodEnum<{
@@ -2108,8 +2108,8 @@ declare const SessionEventStorageNamespace$1: {
2108
2108
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2109
2109
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2110
2110
  intent: _$zod.ZodEnum<{
2111
- fork: "fork";
2112
2111
  resume: "resume";
2112
+ fork: "fork";
2113
2113
  }>;
2114
2114
  verdictKind: _$zod.ZodLiteral<"foreign">;
2115
2115
  foreignMachineId: _$zod.ZodString;
@@ -2427,8 +2427,8 @@ declare const SessionEventStorageNamespace$1: {
2427
2427
  kind: _$zod.ZodEnum<{
2428
2428
  fork: "fork";
2429
2429
  subagent: "subagent";
2430
- compress: "compress";
2431
2430
  branch: "branch";
2431
+ compress: "compress";
2432
2432
  rewrite: "rewrite";
2433
2433
  coordinator: "coordinator";
2434
2434
  aside: "aside";
@@ -2464,8 +2464,8 @@ declare const SessionEventStorageNamespace$1: {
2464
2464
  type: _$zod.ZodLiteral<"locality.degraded">;
2465
2465
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2466
2466
  intent: _$zod.ZodEnum<{
2467
- fork: "fork";
2468
2467
  resume: "resume";
2468
+ fork: "fork";
2469
2469
  }>;
2470
2470
  verdictKind: _$zod.ZodLiteral<"degrade">;
2471
2471
  reason: _$zod.ZodEnum<{
@@ -2489,8 +2489,8 @@ declare const SessionEventStorageNamespace$1: {
2489
2489
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2490
2490
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2491
2491
  intent: _$zod.ZodEnum<{
2492
- fork: "fork";
2493
2492
  resume: "resume";
2493
+ fork: "fork";
2494
2494
  }>;
2495
2495
  verdictKind: _$zod.ZodLiteral<"foreign">;
2496
2496
  foreignMachineId: _$zod.ZodString;
@@ -2798,8 +2798,8 @@ declare const SessionEventStorageNamespace$1: {
2798
2798
  kind: _$zod.ZodEnum<{
2799
2799
  fork: "fork";
2800
2800
  subagent: "subagent";
2801
- compress: "compress";
2802
2801
  branch: "branch";
2802
+ compress: "compress";
2803
2803
  rewrite: "rewrite";
2804
2804
  coordinator: "coordinator";
2805
2805
  aside: "aside";
@@ -2835,8 +2835,8 @@ declare const SessionEventStorageNamespace$1: {
2835
2835
  type: _$zod.ZodLiteral<"locality.degraded">;
2836
2836
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2837
2837
  intent: _$zod.ZodEnum<{
2838
- fork: "fork";
2839
2838
  resume: "resume";
2839
+ fork: "fork";
2840
2840
  }>;
2841
2841
  verdictKind: _$zod.ZodLiteral<"degrade">;
2842
2842
  reason: _$zod.ZodEnum<{
@@ -2860,8 +2860,8 @@ declare const SessionEventStorageNamespace$1: {
2860
2860
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2861
2861
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2862
2862
  intent: _$zod.ZodEnum<{
2863
- fork: "fork";
2864
2863
  resume: "resume";
2864
+ fork: "fork";
2865
2865
  }>;
2866
2866
  verdictKind: _$zod.ZodLiteral<"foreign">;
2867
2867
  foreignMachineId: _$zod.ZodString;
@@ -3177,8 +3177,8 @@ declare const SessionEventStorageNamespace$1: {
3177
3177
  kind: _$zod.ZodEnum<{
3178
3178
  fork: "fork";
3179
3179
  subagent: "subagent";
3180
- compress: "compress";
3181
3180
  branch: "branch";
3181
+ compress: "compress";
3182
3182
  rewrite: "rewrite";
3183
3183
  coordinator: "coordinator";
3184
3184
  aside: "aside";
@@ -3214,8 +3214,8 @@ declare const SessionEventStorageNamespace$1: {
3214
3214
  type: _$zod.ZodLiteral<"locality.degraded">;
3215
3215
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3216
3216
  intent: _$zod.ZodEnum<{
3217
- fork: "fork";
3218
3217
  resume: "resume";
3218
+ fork: "fork";
3219
3219
  }>;
3220
3220
  verdictKind: _$zod.ZodLiteral<"degrade">;
3221
3221
  reason: _$zod.ZodEnum<{
@@ -3239,8 +3239,8 @@ declare const SessionEventStorageNamespace$1: {
3239
3239
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3240
3240
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3241
3241
  intent: _$zod.ZodEnum<{
3242
- fork: "fork";
3243
3242
  resume: "resume";
3243
+ fork: "fork";
3244
3244
  }>;
3245
3245
  verdictKind: _$zod.ZodLiteral<"foreign">;
3246
3246
  foreignMachineId: _$zod.ZodString;
@@ -3498,7 +3498,7 @@ declare const SessionEventStorageNamespace$1: {
3498
3498
  payload: {
3499
3499
  childSessionId: string;
3500
3500
  parentSessionId: string;
3501
- kind: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
3501
+ kind: "fork" | "subagent" | "branch" | "compress" | "rewrite" | "coordinator" | "aside";
3502
3502
  forkPointMessageId?: string | undefined;
3503
3503
  };
3504
3504
  } | {
@@ -3529,14 +3529,14 @@ declare const SessionEventStorageNamespace$1: {
3529
3529
  timestamp: number;
3530
3530
  type: "locality.degraded";
3531
3531
  payload: {
3532
- intent: "fork" | "resume";
3532
+ intent: "resume" | "fork";
3533
3533
  verdictKind: "degrade";
3534
3534
  reason: "adapter-unsupported" | "adapter-mismatch" | "no-adapter-session" | "missing-machine-id" | "machine-mismatch" | "cwd-mismatch" | "transforms-present" | "compression-present" | "connector-swap" | "mid-history-unsupported" | "hybrid-imported-orchestrated" | "native-attempt-failed" | "agent-already-started" | "fork-point-unresolvable";
3535
3535
  agentId?: string | undefined;
3536
3536
  adapterId?: string | undefined;
3537
3537
  turnId?: string | undefined;
3538
3538
  } | {
3539
- intent: "fork" | "resume";
3539
+ intent: "resume" | "fork";
3540
3540
  verdictKind: "foreign";
3541
3541
  foreignMachineId: string;
3542
3542
  agentId?: string | undefined;
package/dist/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@makaio/framework",
3
- "version": "1.0.0-dev-1784806252593",
3
+ "version": "1.0.0-dev-1784889676396",
4
4
  "type": "module"
5
5
  }
@@ -385,7 +385,7 @@ declare const sessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
385
385
  tableName: "sessions";
386
386
  dataType: "string";
387
387
  columnType: "SQLiteText";
388
- data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
388
+ data: "fork" | "subagent" | "branch" | "compress" | "rewrite" | "coordinator" | "aside";
389
389
  driverParam: string;
390
390
  notNull: false;
391
391
  hasDefault: false;
@@ -15,8 +15,8 @@ declare const SubagentTemplateSchema: z.ZodObject<{
15
15
  model: z.ZodOptional<z.ZodString>;
16
16
  systemPrompt: z.ZodOptional<z.ZodString>;
17
17
  contextMode: z.ZodDefault<z.ZodEnum<{
18
- fork: "fork";
19
18
  fresh: "fresh";
19
+ fork: "fork";
20
20
  }>>;
21
21
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
22
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -46,16 +46,16 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
46
46
  name: z.ZodString;
47
47
  enabled: z.ZodDefault<z.ZodBoolean>;
48
48
  providerConfigId: z.ZodOptional<z.ZodString>;
49
+ adapterName: z.ZodString;
49
50
  model: z.ZodOptional<z.ZodString>;
50
51
  systemPrompt: z.ZodOptional<z.ZodString>;
51
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
52
- disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
- allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
52
  contextMode: z.ZodDefault<z.ZodEnum<{
55
- fork: "fork";
56
53
  fresh: "fresh";
54
+ fork: "fork";
57
55
  }>>;
58
- adapterName: z.ZodString;
56
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
61
61
  /**
@@ -69,8 +69,8 @@ declare const SubagentTemplateUpdateSchema: z.ZodObject<{
69
69
  model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
70
70
  systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
71
71
  contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
72
- fork: "fork";
73
72
  fresh: "fresh";
73
+ fork: "fork";
74
74
  }>>>;
75
75
  allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
76
76
  disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -114,8 +114,8 @@ declare const SubagentTemplateSettingsSchemas: {
114
114
  model: z.ZodOptional<z.ZodString>;
115
115
  systemPrompt: z.ZodOptional<z.ZodString>;
116
116
  contextMode: z.ZodDefault<z.ZodEnum<{
117
- fork: "fork";
118
117
  fresh: "fresh";
118
+ fork: "fork";
119
119
  }>>;
120
120
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
121
121
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -131,16 +131,16 @@ declare const SubagentTemplateSettingsSchemas: {
131
131
  name: z.ZodString;
132
132
  enabled: z.ZodDefault<z.ZodBoolean>;
133
133
  providerConfigId: z.ZodOptional<z.ZodString>;
134
+ adapterName: z.ZodString;
134
135
  model: z.ZodOptional<z.ZodString>;
135
136
  systemPrompt: z.ZodOptional<z.ZodString>;
136
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
- disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
- allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
137
  contextMode: z.ZodDefault<z.ZodEnum<{
140
- fork: "fork";
141
138
  fresh: "fresh";
139
+ fork: "fork";
142
140
  }>>;
143
- adapterName: z.ZodString;
141
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
143
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
146
146
  id: z.ZodString;
@@ -155,8 +155,8 @@ declare const SubagentTemplateSettingsSchemas: {
155
155
  model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
156
156
  systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
157
157
  contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
158
- fork: "fork";
159
158
  fresh: "fresh";
159
+ fork: "fork";
160
160
  }>>>;
161
161
  allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
162
162
  disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -191,9 +191,9 @@ declare const SubagentTemplateInstanceSchema: z.ZodObject<{
191
191
  status: z.ZodEnum<{
192
192
  completed: "completed";
193
193
  cancelled: "cancelled";
194
+ failed: "failed";
194
195
  running: "running";
195
196
  waiting_input: "waiting_input";
196
- failed: "failed";
197
197
  }>;
198
198
  createdAt: z.ZodString;
199
199
  }, z.core.$strip>;
@@ -222,9 +222,9 @@ declare const SubagentTemplateInstanceStatusSchema: z.ZodObject<{
222
222
  status: z.ZodEnum<{
223
223
  completed: "completed";
224
224
  cancelled: "cancelled";
225
+ failed: "failed";
225
226
  running: "running";
226
227
  waiting_input: "waiting_input";
227
- failed: "failed";
228
228
  }>;
229
229
  result: z.ZodOptional<z.ZodString>;
230
230
  error: z.ZodOptional<z.ZodString>;
@@ -274,9 +274,9 @@ declare const SubagentTemplateKernelSchemas: {
274
274
  status: z.ZodEnum<{
275
275
  completed: "completed";
276
276
  cancelled: "cancelled";
277
+ failed: "failed";
277
278
  running: "running";
278
279
  waiting_input: "waiting_input";
279
- failed: "failed";
280
280
  }>;
281
281
  result: z.ZodOptional<z.ZodString>;
282
282
  error: z.ZodOptional<z.ZodString>;
@@ -425,9 +425,9 @@ declare const AgentInstanceStatusSchema: z.ZodObject<{
425
425
  status: z.ZodEnum<{
426
426
  completed: "completed";
427
427
  cancelled: "cancelled";
428
+ failed: "failed";
428
429
  running: "running";
429
430
  waiting_input: "waiting_input";
430
- failed: "failed";
431
431
  }>;
432
432
  result: z.ZodOptional<z.ZodString>;
433
433
  error: z.ZodOptional<z.ZodString>;
@@ -888,9 +888,9 @@ declare const AgentRuntimeSchemas: {
888
888
  status: z.ZodEnum<{
889
889
  completed: "completed";
890
890
  cancelled: "cancelled";
891
+ failed: "failed";
891
892
  running: "running";
892
893
  waiting_input: "waiting_input";
893
- failed: "failed";
894
894
  }>;
895
895
  result: z.ZodOptional<z.ZodString>;
896
896
  error: z.ZodOptional<z.ZodString>;
@@ -1,3 +1,3 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-SsGbBOZ-.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-Dvo_7BQw.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CbMWN9-z.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-CI313bRv.mjs";
3
3
  export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-Dvo_7BQw.mjs";
1
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-CI313bRv.mjs";
2
2
  export { AgentRuntimeNamespace, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-SsGbBOZ-.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CbMWN9-z.mjs";
2
2
  export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
@@ -160,9 +160,9 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
160
160
  declare const ContextRuleChangedEventSchema: z.ZodObject<{
161
161
  ruleId: z.ZodString;
162
162
  changeType: z.ZodEnum<{
163
- created: "created";
164
- updated: "updated";
165
163
  deleted: "deleted";
164
+ updated: "updated";
165
+ created: "created";
166
166
  }>;
167
167
  previous: z.ZodNullable<z.ZodObject<{
168
168
  scope: z.ZodEnum<{
@@ -313,9 +313,9 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
313
313
  changed: _$zod.ZodObject<{
314
314
  ruleId: _$zod.ZodString;
315
315
  changeType: _$zod.ZodEnum<{
316
- created: "created";
317
- updated: "updated";
318
316
  deleted: "deleted";
317
+ updated: "updated";
318
+ created: "created";
319
319
  }>;
320
320
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
321
321
  scope: _$zod.ZodEnum<{
@@ -383,9 +383,9 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
383
383
  changed: _$zod.ZodObject<{
384
384
  ruleId: _$zod.ZodString;
385
385
  changeType: _$zod.ZodEnum<{
386
- created: "created";
387
- updated: "updated";
388
386
  deleted: "deleted";
387
+ updated: "updated";
388
+ created: "created";
389
389
  }>;
390
390
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
391
391
  scope: _$zod.ZodEnum<{
@@ -1,4 +1,4 @@
1
1
  import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-ChF2z4RB.mjs";
2
2
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-Bd49QmzS.mjs";
3
- import { A as ContainerSessionRuntimeBindingSchema, B as SpawnRequestSchema, C as ContainerIsolatedSpawnRequest, D as ContainerRuntime, E as ContainerLocalSpawnRequestSchema, F as ContainerStopped, G as StatusResponse, H as SpawnResponseSchema, I as ContainerStoppedSchema, J as StopRequestSchema, K as StatusResponseSchema, L as CredentialFreeGitRemoteSchema, M as ContainerStartedSchema, N as ContainerState, O as ContainerRuntimeSchema, P as ContainerStateSchema, R as CredentialFreeRelayUrlSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as StatusRequest, V as SpawnResponse, W as StatusRequestSchema, X as StopResponseSchema, Y as StopResponse, _ as ContainerConnectorAuthValue, a as DockerSubjects, b as ContainerCreatedSchema, c as ContainerAdapterAuthEnvelopeSchema, d as ContainerBootstrapConfig, f as ContainerBootstrapConfigSchema, g as ContainerConnectorAuthDeliverySchema, h as ContainerConnectorAuthDelivery, i as DockerNamespace, j as ContainerStarted, k as ContainerSessionRuntimeBinding, l as ContainerAdapterAuthSelector, m as ContainerBootstrapSpawnRequestSchema, n as ContainerSpawnSubjects, o as CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, p as ContainerBootstrapSpawnRequest, q as StopRequest, r as CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, s as ContainerAdapterAuthEnvelope, t as ContainerSpawnNamespace, u as ContainerAdapterAuthSelectorSchema, v as ContainerConnectorAuthValueSchema, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as SpawnRequest } from "../../index-g36yJDge.mjs";
3
+ import { A as ContainerSessionRuntimeBindingSchema, B as SpawnRequestSchema, C as ContainerIsolatedSpawnRequest, D as ContainerRuntime, E as ContainerLocalSpawnRequestSchema, F as ContainerStopped, G as StatusResponse, H as SpawnResponseSchema, I as ContainerStoppedSchema, J as StopRequestSchema, K as StatusResponseSchema, L as CredentialFreeGitRemoteSchema, M as ContainerStartedSchema, N as ContainerState, O as ContainerRuntimeSchema, P as ContainerStateSchema, R as CredentialFreeRelayUrlSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as StatusRequest, V as SpawnResponse, W as StatusRequestSchema, X as StopResponseSchema, Y as StopResponse, _ as ContainerConnectorAuthValue, a as DockerSubjects, b as ContainerCreatedSchema, c as ContainerAdapterAuthEnvelopeSchema, d as ContainerBootstrapConfig, f as ContainerBootstrapConfigSchema, g as ContainerConnectorAuthDeliverySchema, h as ContainerConnectorAuthDelivery, i as DockerNamespace, j as ContainerStarted, k as ContainerSessionRuntimeBinding, l as ContainerAdapterAuthSelector, m as ContainerBootstrapSpawnRequestSchema, n as ContainerSpawnSubjects, o as CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, p as ContainerBootstrapSpawnRequest, q as StopRequest, r as CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, s as ContainerAdapterAuthEnvelope, t as ContainerSpawnNamespace, u as ContainerAdapterAuthSelectorSchema, v as ContainerConnectorAuthValueSchema, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as SpawnRequest } from "../../index-0Ju2i8gV.mjs";
4
4
  export { CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, ContainerAdapterAuthEnvelope, ContainerAdapterAuthEnvelopeSchema, ContainerAdapterAuthSelector, ContainerAdapterAuthSelectorSchema, ContainerBootstrapConfig, ContainerBootstrapConfigSchema, ContainerBootstrapSpawnRequest, ContainerBootstrapSpawnRequestSchema, ContainerConnectorAuthDelivery, ContainerConnectorAuthDeliverySchema, ContainerConnectorAuthValue, ContainerConnectorAuthValueSchema, ContainerCreated, ContainerCreatedSchema, ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, ContainerRuntime, ContainerRuntimeSchema, ContainerSessionRuntimeBinding, ContainerSessionRuntimeBindingSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, ContainerStarted, ContainerStartedSchema, ContainerState, ContainerStateSchema, ContainerStopped, ContainerStoppedSchema, CredentialFreeGitRemoteSchema, CredentialFreeRelayUrlSchema, DockerNamespace, DockerSubjects, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema, SpawnRequest, SpawnRequestSchema, SpawnResponse, SpawnResponseSchema, StatusRequest, StatusRequestSchema, StatusResponse, StatusResponseSchema, StopRequest, StopRequestSchema, StopResponse, StopResponseSchema };
@@ -321,8 +321,8 @@ declare const GitNamespace: _$_makaio_core0.BusNamespaceDefinition<"git", {
321
321
  path: _$zod.ZodString;
322
322
  branch: _$zod.ZodString;
323
323
  event: _$zod.ZodEnum<{
324
- removed: "removed";
325
324
  added: "added";
325
+ removed: "removed";
326
326
  }>;
327
327
  timestamp: _$zod.ZodString;
328
328
  }, _$zod_v4_core0.$strip>; /** Add a repo to watch */
@@ -420,8 +420,8 @@ declare const GitNamespace: _$_makaio_core0.BusNamespaceDefinition<"git", {
420
420
  repoPath: _$zod.ZodOptional<_$zod.ZodString>;
421
421
  source: _$zod.ZodString;
422
422
  approach: _$zod.ZodOptional<_$zod.ZodEnum<{
423
- squash: "squash";
424
423
  merge: "merge";
424
+ squash: "squash";
425
425
  "fast-forward-only": "fast-forward-only";
426
426
  }>>;
427
427
  message: _$zod.ZodOptional<_$zod.ZodString>;
@@ -899,8 +899,8 @@ declare const GitSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
899
899
  path: _$zod.ZodString;
900
900
  branch: _$zod.ZodString;
901
901
  event: _$zod.ZodEnum<{
902
- removed: "removed";
903
902
  added: "added";
903
+ removed: "removed";
904
904
  }>;
905
905
  timestamp: _$zod.ZodString;
906
906
  }, _$zod_v4_core0.$strip>; /** Add a repo to watch */
@@ -998,8 +998,8 @@ declare const GitSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
998
998
  repoPath: _$zod.ZodOptional<_$zod.ZodString>;
999
999
  source: _$zod.ZodString;
1000
1000
  approach: _$zod.ZodOptional<_$zod.ZodEnum<{
1001
- squash: "squash";
1002
1001
  merge: "merge";
1002
+ squash: "squash";
1003
1003
  "fast-forward-only": "fast-forward-only";
1004
1004
  }>>;
1005
1005
  message: _$zod.ZodOptional<_$zod.ZodString>;
@@ -420,8 +420,8 @@ declare const GitWorktreeEventSchema: z.ZodObject<{
420
420
  path: z.ZodString;
421
421
  branch: z.ZodString;
422
422
  event: z.ZodEnum<{
423
- removed: "removed";
424
423
  added: "added";
424
+ removed: "removed";
425
425
  }>;
426
426
  timestamp: z.ZodString;
427
427
  }, z.core.$strip>;
@@ -543,8 +543,8 @@ type GitCreateCommitResponse = z.infer<typeof GitCreateCommitResponseSchema>;
543
543
  * - 'fast-forward-only': Only allow fast-forward merges
544
544
  */
545
545
  declare const GitMergeApproachSchema: z.ZodEnum<{
546
- squash: "squash";
547
546
  merge: "merge";
547
+ squash: "squash";
548
548
  "fast-forward-only": "fast-forward-only";
549
549
  }>;
550
550
  type GitMergeApproach = z.infer<typeof GitMergeApproachSchema>;
@@ -553,8 +553,8 @@ declare const GitMergeRequestSchema: z.ZodObject<{
553
553
  repoPath: z.ZodOptional<z.ZodString>;
554
554
  source: z.ZodString;
555
555
  approach: z.ZodOptional<z.ZodEnum<{
556
- squash: "squash";
557
556
  merge: "merge";
557
+ squash: "squash";
558
558
  "fast-forward-only": "fast-forward-only";
559
559
  }>>;
560
560
  message: z.ZodOptional<z.ZodString>;
@@ -14,6 +14,7 @@ declare const HarnessInputSchema: z.ZodObject<{
14
14
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
15
15
  name: z.ZodString;
16
16
  clientId: z.ZodOptional<z.ZodString>;
17
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17
18
  adapterName: z.ZodOptional<z.ZodString>;
18
19
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
19
20
  "file.read": "file.read";
@@ -36,7 +37,6 @@ declare const HarnessInputSchema: z.ZodObject<{
36
37
  "always-ask": "always-ask";
37
38
  "full-access": "full-access";
38
39
  }>>>;
39
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
40
40
  approvalPolicy: z.ZodEnum<{
41
41
  reject: "reject";
42
42
  "always-ask": "always-ask";
@@ -131,6 +131,7 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
131
131
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
132
132
  name: z.ZodString;
133
133
  clientId: z.ZodOptional<z.ZodString>;
134
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
134
135
  adapterName: z.ZodOptional<z.ZodString>;
135
136
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
136
137
  "file.read": "file.read";
@@ -153,7 +154,6 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
153
154
  "always-ask": "always-ask";
154
155
  "full-access": "full-access";
155
156
  }>>>;
156
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
157
157
  approvalPolicy: z.ZodEnum<{
158
158
  reject: "reject";
159
159
  "always-ask": "always-ask";
@@ -738,6 +738,7 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
738
738
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
739
739
  name: z.ZodString;
740
740
  clientId: z.ZodOptional<z.ZodString>;
741
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
741
742
  adapterName: z.ZodOptional<z.ZodString>;
742
743
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
743
744
  "file.read": "file.read";
@@ -760,7 +761,6 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
760
761
  "always-ask": "always-ask";
761
762
  "full-access": "full-access";
762
763
  }>>>;
763
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
764
764
  approvalPolicy: z.ZodEnum<{
765
765
  reject: "reject";
766
766
  "always-ask": "always-ask";