dsh-run2skill 0.2.0 → 0.3.1

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/lib/index.d.ts CHANGED
@@ -643,6 +643,7 @@ type DshStreamChunk = {
643
643
  interface DshGenerateOptions {
644
644
  readonly provider: string;
645
645
  readonly model: string;
646
+ readonly reasoningEffort?: string;
646
647
  readonly messages: DshUserMessage[];
647
648
  readonly system: string;
648
649
  readonly maxTokens: number;
@@ -665,6 +666,14 @@ interface DshLlmPort {
665
666
  readonly contextWindow: number;
666
667
  };
667
668
  readonly defaultMaxTokens?: number;
669
+ readonly reasoning?: {
670
+ readonly efforts: readonly {
671
+ readonly id: string;
672
+ readonly name: string;
673
+ readonly description?: string;
674
+ }[];
675
+ readonly defaultEffort?: string;
676
+ };
668
677
  }>;
669
678
  stream(options: DshGenerateOptions): AsyncIterable<DshStreamChunk>;
670
679
  }
@@ -1397,6 +1406,7 @@ declare const TurnObservationV2Schema: z.ZodObject<{
1397
1406
  observationId: z.ZodString;
1398
1407
  sessionLifecycleKey: z.ZodString;
1399
1408
  turn: z.ZodNumber;
1409
+ turnStartSeq: z.ZodOptional<z.ZodNumber>;
1400
1410
  turnEndSeq: z.ZodNumber;
1401
1411
  turnInstanceDigest: z.ZodString;
1402
1412
  observedAt: z.ZodString;
@@ -1469,6 +1479,7 @@ declare const SessionBatchV2Schema: z.ZodObject<{
1469
1479
  }>>;
1470
1480
  observationManifest: z.ZodArray<z.ZodObject<{
1471
1481
  observationId: z.ZodString;
1482
+ turnStartSeq: z.ZodOptional<z.ZodNumber>;
1472
1483
  turnEndSeq: z.ZodNumber;
1473
1484
  evidenceDigest: z.ZodString;
1474
1485
  completeness: z.ZodEnum<{
@@ -1511,12 +1522,13 @@ declare const SessionBatchV2Schema: z.ZodObject<{
1511
1522
  policyVersion: z.ZodString;
1512
1523
  maxInputBytes: z.ZodNumber;
1513
1524
  maxOutputBytes: z.ZodNumber;
1525
+ detectionReasoningEffort: z.ZodOptional<z.ZodString>;
1514
1526
  failureCode: z.ZodOptional<z.ZodLiteral<"ROUTE_UNAVAILABLE">>;
1515
1527
  }, z.core.$strict>;
1516
1528
  detector: z.ZodObject<{
1517
1529
  result: z.ZodEnum<{
1518
- NEEDS_ATTENTION: "NEEDS_ATTENTION";
1519
1530
  READY: "READY";
1531
+ NEEDS_ATTENTION: "NEEDS_ATTENTION";
1520
1532
  NOT_RUN: "NOT_RUN";
1521
1533
  NONE: "NONE";
1522
1534
  DEFER: "DEFER";
@@ -1626,6 +1638,7 @@ declare const ExperienceIntentV2Schema: z.ZodObject<{
1626
1638
  evidence: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1627
1639
  status: z.ZodLiteral<"UNAVAILABLE">;
1628
1640
  reasonCode: z.ZodEnum<{
1641
+ SESSION_LOG_UNAVAILABLE: "SESSION_LOG_UNAVAILABLE";
1629
1642
  INTENT_INCOMPLETE: "INTENT_INCOMPLETE";
1630
1643
  BASELINE_INCOMPLETE: "BASELINE_INCOMPLETE";
1631
1644
  CLAIM_INPUT_UNAVAILABLE: "CLAIM_INPUT_UNAVAILABLE";
@@ -1633,6 +1646,11 @@ declare const ExperienceIntentV2Schema: z.ZodObject<{
1633
1646
  OBSERVATION_FAILED: "OBSERVATION_FAILED";
1634
1647
  OBSERVATION_INVALID: "OBSERVATION_INVALID";
1635
1648
  OBSERVATION_OUTCOME_UNKNOWN: "OBSERVATION_OUTCOME_UNKNOWN";
1649
+ SESSION_CONTEXT_UNAVAILABLE: "SESSION_CONTEXT_UNAVAILABLE";
1650
+ SESSION_SNAPSHOT_UNAVAILABLE: "SESSION_SNAPSHOT_UNAVAILABLE";
1651
+ SESSION_WINDOW_INCOMPLETE: "SESSION_WINDOW_INCOMPLETE";
1652
+ SESSION_CHANGED_DURING_CHECK: "SESSION_CHANGED_DURING_CHECK";
1653
+ OWNERSHIP_ANALYSIS_UNAVAILABLE: "OWNERSHIP_ANALYSIS_UNAVAILABLE";
1636
1654
  }>;
1637
1655
  }, z.core.$strict>, z.ZodObject<{
1638
1656
  status: z.ZodLiteral<"OBSERVED">;
@@ -1860,6 +1878,7 @@ declare const ExperienceIntentV2Schema: z.ZodObject<{
1860
1878
  skillBytesDigest: z.ZodString;
1861
1879
  }, z.core.$strict>;
1862
1880
  targetDigest: z.ZodString;
1881
+ baseSkillBytes: z.ZodOptional<z.ZodString>;
1863
1882
  baseSkillBytesDigest: z.ZodOptional<z.ZodString>;
1864
1883
  inputDigest: z.ZodString;
1865
1884
  runtimeCatalogDigest: z.ZodString;
@@ -1963,9 +1982,9 @@ declare const ExperienceIntentV2Schema: z.ZodObject<{
1963
1982
  }, z.core.$strict>>;
1964
1983
  lineageId: z.ZodOptional<z.ZodString>;
1965
1984
  status: z.ZodEnum<{
1985
+ READY: "READY";
1966
1986
  NEEDS_ATTENTION: "NEEDS_ATTENTION";
1967
1987
  DISCARDED: "DISCARDED";
1968
- READY: "READY";
1969
1988
  RESOLVED_BY_AGENT: "RESOLVED_BY_AGENT";
1970
1989
  NEEDS_CONFIRMATION: "NEEDS_CONFIRMATION";
1971
1990
  RUN2SKILL_OWNED: "RUN2SKILL_OWNED";
@@ -2485,6 +2504,7 @@ declare const ProposalLineageV2Schema: z.ZodUnion<readonly [z.ZodObject<{
2485
2504
  TERMINAL: "TERMINAL";
2486
2505
  PUBLISHED: "PUBLISHED";
2487
2506
  RESERVED: "RESERVED";
2507
+ REFRESHING: "REFRESHING";
2488
2508
  ACTIVE_PROPOSAL: "ACTIVE_PROPOSAL";
2489
2509
  }>;
2490
2510
  behaviorSignature: z.ZodString;
@@ -2513,6 +2533,7 @@ declare const ProposalLineageV2Schema: z.ZodUnion<readonly [z.ZodObject<{
2513
2533
  catalogMutationReceiptDigest: z.ZodString;
2514
2534
  catalogEpoch: z.ZodNumber;
2515
2535
  targetIdentityDigest: z.ZodOptional<z.ZodString>;
2536
+ baseSkillBytes: z.ZodOptional<z.ZodString>;
2516
2537
  baseSkillBytesDigest: z.ZodOptional<z.ZodString>;
2517
2538
  projectScopeBinding: z.ZodOptional<z.ZodObject<{
2518
2539
  workspaceId: z.ZodString;
@@ -2522,6 +2543,7 @@ declare const ProposalLineageV2Schema: z.ZodUnion<readonly [z.ZodObject<{
2522
2543
  TERMINAL: "TERMINAL";
2523
2544
  PUBLISHED: "PUBLISHED";
2524
2545
  ACTIVE_PROPOSAL: "ACTIVE_PROPOSAL";
2546
+ SUPERSEDED: "SUPERSEDED";
2525
2547
  }>;
2526
2548
  reviewDecision: z.ZodOptional<z.ZodEnum<{
2527
2549
  APPROVED: "APPROVED";
@@ -2551,8 +2573,59 @@ declare const ProposalLineageV2Schema: z.ZodUnion<readonly [z.ZodObject<{
2551
2573
  publicationExternalReceiptDigest: z.ZodOptional<z.ZodString>;
2552
2574
  publishedAt: z.ZodOptional<z.ZodString>;
2553
2575
  publicationReceiptDigest: z.ZodOptional<z.ZodString>;
2576
+ revisionSource: z.ZodOptional<z.ZodObject<{
2577
+ kind: z.ZodLiteral<"USER_FEEDBACK">;
2578
+ actionId: z.ZodString;
2579
+ parentProposalId: z.ZodString;
2580
+ parentProposalRevision: z.ZodNumber;
2581
+ parentProposalDigest: z.ZodString;
2582
+ feedbackDigest: z.ZodString;
2583
+ feedbackSummary: z.ZodString;
2584
+ }, z.core.$strict>>;
2554
2585
  createdAt: z.ZodString;
2555
2586
  }, z.core.$strict>>;
2587
+ revisionActions: z.ZodDefault<z.ZodArray<z.ZodObject<{
2588
+ actionId: z.ZodString;
2589
+ parentProposalId: z.ZodString;
2590
+ parentProposalRevision: z.ZodNumber;
2591
+ parentProposalDigest: z.ZodString;
2592
+ feedbackDigest: z.ZodString;
2593
+ feedbackSummary: z.ZodString;
2594
+ inputDigest: z.ZodString;
2595
+ callId: z.ZodString;
2596
+ state: z.ZodEnum<{
2597
+ SUCCEEDED: "SUCCEEDED";
2598
+ FAILED: "FAILED";
2599
+ CALL_RESERVED: "CALL_RESERVED";
2600
+ OUTCOME_UNKNOWN: "OUTCOME_UNKNOWN";
2601
+ }>;
2602
+ failureCode: z.ZodOptional<z.ZodEnum<{
2603
+ REVISION_MODEL_FAILED: "REVISION_MODEL_FAILED";
2604
+ REVISION_OUTPUT_INVALID: "REVISION_OUTPUT_INVALID";
2605
+ REVISION_CATALOG_CHANGED: "REVISION_CATALOG_CHANGED";
2606
+ REVISION_CATALOG_UNAVAILABLE: "REVISION_CATALOG_UNAVAILABLE";
2607
+ REVISION_OUTCOME_UNKNOWN: "REVISION_OUTCOME_UNKNOWN";
2608
+ }>>;
2609
+ resultProposalRef: z.ZodOptional<z.ZodObject<{
2610
+ proposalId: z.ZodString;
2611
+ revision: z.ZodNumber;
2612
+ digest: z.ZodString;
2613
+ }, z.core.$strict>>;
2614
+ createdAt: z.ZodString;
2615
+ completedAt: z.ZodOptional<z.ZodString>;
2616
+ }, z.core.$strict>>>;
2617
+ currentSkillRevision: z.ZodDefault<z.ZodNumber>;
2618
+ skillRevisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
2619
+ revision: z.ZodNumber;
2620
+ origin: z.ZodEnum<{
2621
+ ADOPTED_BASE: "ADOPTED_BASE";
2622
+ RUN2SKILL: "RUN2SKILL";
2623
+ }>;
2624
+ proposalId: z.ZodOptional<z.ZodString>;
2625
+ exactSkillBytes: z.ZodString;
2626
+ skillBytesDigest: z.ZodString;
2627
+ committedAt: z.ZodString;
2628
+ }, z.core.$strict>>>;
2556
2629
  createdAt: z.ZodString;
2557
2630
  updatedAt: z.ZodString;
2558
2631
  }, z.core.$strict>]>;
@@ -2640,6 +2713,10 @@ declare const GlobalV2Schema: z.ZodObject<{
2640
2713
  headerRevision: z.ZodOptional<z.ZodString>;
2641
2714
  observedLogPrefixDigest: z.ZodOptional<z.ZodString>;
2642
2715
  activeBatchId: z.ZodOptional<z.ZodString>;
2716
+ manualSynthesisRequest: z.ZodOptional<z.ZodObject<{
2717
+ throughTurnEndSeq: z.ZodNumber;
2718
+ requestedAt: z.ZodString;
2719
+ }, z.core.$strict>>;
2643
2720
  lastActivityAt: z.ZodOptional<z.ZodString>;
2644
2721
  batchManifestBaseline: z.ZodOptional<z.ZodObject<{
2645
2722
  observedAt: z.ZodString;
@@ -2933,6 +3010,10 @@ declare const run2skillV2DomainSpec: {
2933
3010
  headerRevision: import("zod").ZodOptional<import("zod").ZodString>;
2934
3011
  observedLogPrefixDigest: import("zod").ZodOptional<import("zod").ZodString>;
2935
3012
  activeBatchId: import("zod").ZodOptional<import("zod").ZodString>;
3013
+ manualSynthesisRequest: import("zod").ZodOptional<import("zod").ZodObject<{
3014
+ throughTurnEndSeq: import("zod").ZodNumber;
3015
+ requestedAt: import("zod").ZodString;
3016
+ }, import("zod/v4/core").$strict>>;
2936
3017
  lastActivityAt: import("zod").ZodOptional<import("zod").ZodString>;
2937
3018
  batchManifestBaseline: import("zod").ZodOptional<import("zod").ZodObject<{
2938
3019
  observedAt: import("zod").ZodString;
@@ -3206,6 +3287,10 @@ declare const run2skillV2DomainSpec: {
3206
3287
  headerRevision?: string | undefined;
3207
3288
  observedLogPrefixDigest?: string | undefined;
3208
3289
  activeBatchId?: string | undefined;
3290
+ manualSynthesisRequest?: {
3291
+ throughTurnEndSeq: number;
3292
+ requestedAt: string;
3293
+ } | undefined;
3209
3294
  lastActivityAt?: string | undefined;
3210
3295
  batchManifestBaseline?: {
3211
3296
  observedAt: string;
@@ -3337,6 +3422,7 @@ declare const run2skillV2DomainSpec: {
3337
3422
  observationId: import("zod").ZodString;
3338
3423
  sessionLifecycleKey: import("zod").ZodString;
3339
3424
  turn: import("zod").ZodNumber;
3425
+ turnStartSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
3340
3426
  turnEndSeq: import("zod").ZodNumber;
3341
3427
  turnInstanceDigest: import("zod").ZodString;
3342
3428
  observedAt: import("zod").ZodString;
@@ -3411,6 +3497,7 @@ declare const run2skillV2DomainSpec: {
3411
3497
  }>>;
3412
3498
  observationManifest: import("zod").ZodArray<import("zod").ZodObject<{
3413
3499
  observationId: import("zod").ZodString;
3500
+ turnStartSeq: import("zod").ZodOptional<import("zod").ZodNumber>;
3414
3501
  turnEndSeq: import("zod").ZodNumber;
3415
3502
  evidenceDigest: import("zod").ZodString;
3416
3503
  completeness: import("zod").ZodEnum<{
@@ -3453,12 +3540,13 @@ declare const run2skillV2DomainSpec: {
3453
3540
  policyVersion: import("zod").ZodString;
3454
3541
  maxInputBytes: import("zod").ZodNumber;
3455
3542
  maxOutputBytes: import("zod").ZodNumber;
3543
+ detectionReasoningEffort: import("zod").ZodOptional<import("zod").ZodString>;
3456
3544
  failureCode: import("zod").ZodOptional<import("zod").ZodLiteral<"ROUTE_UNAVAILABLE">>;
3457
3545
  }, import("zod/v4/core").$strict>;
3458
3546
  detector: import("zod").ZodObject<{
3459
3547
  result: import("zod").ZodEnum<{
3460
- NEEDS_ATTENTION: "NEEDS_ATTENTION";
3461
3548
  READY: "READY";
3549
+ NEEDS_ATTENTION: "NEEDS_ATTENTION";
3462
3550
  NOT_RUN: "NOT_RUN";
3463
3551
  NONE: "NONE";
3464
3552
  DEFER: "DEFER";
@@ -3570,6 +3658,7 @@ declare const run2skillV2DomainSpec: {
3570
3658
  evidence: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
3571
3659
  status: import("zod").ZodLiteral<"UNAVAILABLE">;
3572
3660
  reasonCode: import("zod").ZodEnum<{
3661
+ SESSION_LOG_UNAVAILABLE: "SESSION_LOG_UNAVAILABLE";
3573
3662
  INTENT_INCOMPLETE: "INTENT_INCOMPLETE";
3574
3663
  BASELINE_INCOMPLETE: "BASELINE_INCOMPLETE";
3575
3664
  CLAIM_INPUT_UNAVAILABLE: "CLAIM_INPUT_UNAVAILABLE";
@@ -3577,6 +3666,11 @@ declare const run2skillV2DomainSpec: {
3577
3666
  OBSERVATION_FAILED: "OBSERVATION_FAILED";
3578
3667
  OBSERVATION_INVALID: "OBSERVATION_INVALID";
3579
3668
  OBSERVATION_OUTCOME_UNKNOWN: "OBSERVATION_OUTCOME_UNKNOWN";
3669
+ SESSION_CONTEXT_UNAVAILABLE: "SESSION_CONTEXT_UNAVAILABLE";
3670
+ SESSION_SNAPSHOT_UNAVAILABLE: "SESSION_SNAPSHOT_UNAVAILABLE";
3671
+ SESSION_WINDOW_INCOMPLETE: "SESSION_WINDOW_INCOMPLETE";
3672
+ SESSION_CHANGED_DURING_CHECK: "SESSION_CHANGED_DURING_CHECK";
3673
+ OWNERSHIP_ANALYSIS_UNAVAILABLE: "OWNERSHIP_ANALYSIS_UNAVAILABLE";
3580
3674
  }>;
3581
3675
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
3582
3676
  status: import("zod").ZodLiteral<"OBSERVED">;
@@ -3804,6 +3898,7 @@ declare const run2skillV2DomainSpec: {
3804
3898
  skillBytesDigest: import("zod").ZodString;
3805
3899
  }, import("zod/v4/core").$strict>;
3806
3900
  targetDigest: import("zod").ZodString;
3901
+ baseSkillBytes: import("zod").ZodOptional<import("zod").ZodString>;
3807
3902
  baseSkillBytesDigest: import("zod").ZodOptional<import("zod").ZodString>;
3808
3903
  inputDigest: import("zod").ZodString;
3809
3904
  runtimeCatalogDigest: import("zod").ZodString;
@@ -3907,9 +4002,9 @@ declare const run2skillV2DomainSpec: {
3907
4002
  }, import("zod/v4/core").$strict>>;
3908
4003
  lineageId: import("zod").ZodOptional<import("zod").ZodString>;
3909
4004
  status: import("zod").ZodEnum<{
4005
+ READY: "READY";
3910
4006
  NEEDS_ATTENTION: "NEEDS_ATTENTION";
3911
4007
  DISCARDED: "DISCARDED";
3912
- READY: "READY";
3913
4008
  RESOLVED_BY_AGENT: "RESOLVED_BY_AGENT";
3914
4009
  NEEDS_CONFIRMATION: "NEEDS_CONFIRMATION";
3915
4010
  RUN2SKILL_OWNED: "RUN2SKILL_OWNED";
@@ -3987,6 +4082,7 @@ declare const run2skillV2DomainSpec: {
3987
4082
  TERMINAL: "TERMINAL";
3988
4083
  PUBLISHED: "PUBLISHED";
3989
4084
  RESERVED: "RESERVED";
4085
+ REFRESHING: "REFRESHING";
3990
4086
  ACTIVE_PROPOSAL: "ACTIVE_PROPOSAL";
3991
4087
  }>;
3992
4088
  behaviorSignature: import("zod").ZodString;
@@ -4015,6 +4111,7 @@ declare const run2skillV2DomainSpec: {
4015
4111
  catalogMutationReceiptDigest: import("zod").ZodString;
4016
4112
  catalogEpoch: import("zod").ZodNumber;
4017
4113
  targetIdentityDigest: import("zod").ZodOptional<import("zod").ZodString>;
4114
+ baseSkillBytes: import("zod").ZodOptional<import("zod").ZodString>;
4018
4115
  baseSkillBytesDigest: import("zod").ZodOptional<import("zod").ZodString>;
4019
4116
  projectScopeBinding: import("zod").ZodOptional<import("zod").ZodObject<{
4020
4117
  workspaceId: import("zod").ZodString;
@@ -4024,6 +4121,7 @@ declare const run2skillV2DomainSpec: {
4024
4121
  TERMINAL: "TERMINAL";
4025
4122
  PUBLISHED: "PUBLISHED";
4026
4123
  ACTIVE_PROPOSAL: "ACTIVE_PROPOSAL";
4124
+ SUPERSEDED: "SUPERSEDED";
4027
4125
  }>;
4028
4126
  reviewDecision: import("zod").ZodOptional<import("zod").ZodEnum<{
4029
4127
  APPROVED: "APPROVED";
@@ -4053,8 +4151,59 @@ declare const run2skillV2DomainSpec: {
4053
4151
  publicationExternalReceiptDigest: import("zod").ZodOptional<import("zod").ZodString>;
4054
4152
  publishedAt: import("zod").ZodOptional<import("zod").ZodString>;
4055
4153
  publicationReceiptDigest: import("zod").ZodOptional<import("zod").ZodString>;
4154
+ revisionSource: import("zod").ZodOptional<import("zod").ZodObject<{
4155
+ kind: import("zod").ZodLiteral<"USER_FEEDBACK">;
4156
+ actionId: import("zod").ZodString;
4157
+ parentProposalId: import("zod").ZodString;
4158
+ parentProposalRevision: import("zod").ZodNumber;
4159
+ parentProposalDigest: import("zod").ZodString;
4160
+ feedbackDigest: import("zod").ZodString;
4161
+ feedbackSummary: import("zod").ZodString;
4162
+ }, import("zod/v4/core").$strict>>;
4056
4163
  createdAt: import("zod").ZodString;
4057
4164
  }, import("zod/v4/core").$strict>>;
4165
+ revisionActions: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
4166
+ actionId: import("zod").ZodString;
4167
+ parentProposalId: import("zod").ZodString;
4168
+ parentProposalRevision: import("zod").ZodNumber;
4169
+ parentProposalDigest: import("zod").ZodString;
4170
+ feedbackDigest: import("zod").ZodString;
4171
+ feedbackSummary: import("zod").ZodString;
4172
+ inputDigest: import("zod").ZodString;
4173
+ callId: import("zod").ZodString;
4174
+ state: import("zod").ZodEnum<{
4175
+ SUCCEEDED: "SUCCEEDED";
4176
+ FAILED: "FAILED";
4177
+ CALL_RESERVED: "CALL_RESERVED";
4178
+ OUTCOME_UNKNOWN: "OUTCOME_UNKNOWN";
4179
+ }>;
4180
+ failureCode: import("zod").ZodOptional<import("zod").ZodEnum<{
4181
+ REVISION_MODEL_FAILED: "REVISION_MODEL_FAILED";
4182
+ REVISION_OUTPUT_INVALID: "REVISION_OUTPUT_INVALID";
4183
+ REVISION_CATALOG_CHANGED: "REVISION_CATALOG_CHANGED";
4184
+ REVISION_CATALOG_UNAVAILABLE: "REVISION_CATALOG_UNAVAILABLE";
4185
+ REVISION_OUTCOME_UNKNOWN: "REVISION_OUTCOME_UNKNOWN";
4186
+ }>>;
4187
+ resultProposalRef: import("zod").ZodOptional<import("zod").ZodObject<{
4188
+ proposalId: import("zod").ZodString;
4189
+ revision: import("zod").ZodNumber;
4190
+ digest: import("zod").ZodString;
4191
+ }, import("zod/v4/core").$strict>>;
4192
+ createdAt: import("zod").ZodString;
4193
+ completedAt: import("zod").ZodOptional<import("zod").ZodString>;
4194
+ }, import("zod/v4/core").$strict>>>;
4195
+ currentSkillRevision: import("zod").ZodDefault<import("zod").ZodNumber>;
4196
+ skillRevisions: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
4197
+ revision: import("zod").ZodNumber;
4198
+ origin: import("zod").ZodEnum<{
4199
+ ADOPTED_BASE: "ADOPTED_BASE";
4200
+ RUN2SKILL: "RUN2SKILL";
4201
+ }>;
4202
+ proposalId: import("zod").ZodOptional<import("zod").ZodString>;
4203
+ exactSkillBytes: import("zod").ZodString;
4204
+ skillBytesDigest: import("zod").ZodString;
4205
+ committedAt: import("zod").ZodString;
4206
+ }, import("zod/v4/core").$strict>>>;
4058
4207
  createdAt: import("zod").ZodString;
4059
4208
  updatedAt: import("zod").ZodString;
4060
4209
  }, import("zod/v4/core").$strict>]>;
@@ -4668,6 +4817,7 @@ interface DshSessionHeader {
4668
4817
  readonly parentSession?: string;
4669
4818
  readonly origin?: 'subagent';
4670
4819
  readonly delegationDepth?: number;
4820
+ readonly agentPreset?: string;
4671
4821
  }
4672
4822
  interface DshSessionEvent {
4673
4823
  readonly type: string;
@@ -4699,6 +4849,12 @@ interface SessionPersistencePort {
4699
4849
  }>;
4700
4850
  }
4701
4851
  //#endregion
4852
+ //#region src/adapters/dsh-filesystem/context-filesystem.d.ts
4853
+ interface DshContextFileSystemTarget {
4854
+ readonly targetKey: string;
4855
+ readonly displayPath: string;
4856
+ }
4857
+ //#endregion
4702
4858
  //#region src/adapters/dsh-connection/observe-summary-rpc.d.ts
4703
4859
  type ObserveRpcError = {
4704
4860
  readonly code: string;
@@ -5385,7 +5541,7 @@ interface StockAgentPresetObservationPort {
5385
5541
  }
5386
5542
  declare function resolvePinnedStockPresetConfiguration(presets: StockAgentPresetObservationPort, agent: {
5387
5543
  readonly ctx: object;
5388
- }, expectedDigests?: Readonly<Record<'standard' | 'code', string>>): Promise<StockSkillRuntimeConfiguration | undefined>;
5544
+ }, expectedDigests?: Readonly<Record<'standard' | 'code', readonly string[]>>): Promise<StockSkillRuntimeConfiguration | undefined>;
5389
5545
  /** Reads the exact stock filesystem fiber mounted for one Agent's joined generation. */
5390
5546
  declare function resolveStockSkillRuntimeConfiguration(mounts: StockPresetMountPort, agent: StockComposedAgentProjection): Promise<StockSkillRuntimeConfiguration | undefined>;
5391
5547
  //#endregion
@@ -5560,8 +5716,11 @@ declare class PublicationTargetSingleFlight {
5560
5716
  //#endregion
5561
5717
  //#region src/host/index.d.ts
5562
5718
  declare const name = "run2skill";
5563
- declare const inject: readonly ["agents", "sessions", "sessionPersistence", "storageDomain", "workspaceRegistry", "connection", "llm", "skills", "settings", "agentPresets"];
5719
+ declare const inject: readonly ["agents", "sessions", "sessionPersistence", "storageDomain", "workspaceRegistry", "connection", "llm", "skills", "settings", "agentPresets", "fs"];
5564
5720
  type Run2skillAgent = object & AgentScopeProjection & Parameters<typeof resolveStockSkillRuntimeConfiguration>[1];
5721
+ type Run2skillAgentPresets = Parameters<typeof resolvePinnedStockPresetConfiguration>[0] & {
5722
+ standingKeyFor(id?: string): Promise<object>;
5723
+ };
5565
5724
  interface Run2skillHostContext extends Run2skillStorageContext {
5566
5725
  readonly agents: unknown;
5567
5726
  readonly sessions: unknown;
@@ -5571,8 +5730,16 @@ interface Run2skillHostContext extends Run2skillStorageContext {
5571
5730
  readonly llm: DshLlmPort;
5572
5731
  readonly skills: DshSkillRegistryPort<LearningSkillView<Run2skillAgent>>;
5573
5732
  readonly settings: DshSettingsPort;
5574
- readonly agentPresets: Parameters<typeof resolvePinnedStockPresetConfiguration>[0];
5733
+ readonly agentPresets: Run2skillAgentPresets;
5734
+ /** Host-plane DSH filesystem used by the supported web presets. */
5735
+ readonly fs: unknown;
5575
5736
  on(event: string, listener: (...args: never[]) => unknown): void;
5737
+ emit(event: 'fs/observed', target: DshContextFileSystemTarget, observation: {
5738
+ readonly kind: 'present';
5739
+ readonly version: string;
5740
+ }, actor: {
5741
+ readonly name: 'write';
5742
+ }): void;
5576
5743
  }
5577
5744
  declare class Run2skillRuntimeFactory implements RecoveryRuntimeFactory {
5578
5745
  #private;