@factory/droid-sdk 0.9.0 → 0.10.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/dist/index.mjs CHANGED
@@ -16,6 +16,7 @@ import {
16
16
  AskUserRequestSchema,
17
17
  AskUserResponseSchema,
18
18
  AskUserResultSchema,
19
+ AssistantMessageRetractedNotificationSchema,
19
20
  AssistantTextCompleteNotificationSchema,
20
21
  AssistantTextDeltaNotificationSchema,
21
22
  AuthenticateMcpServerRequestParamsSchema,
@@ -65,6 +66,7 @@ import {
65
66
  ConnectionClosedError,
66
67
  ConnectionFailureReason,
67
68
  ContentBlockSchema,
69
+ ContextApiError,
68
70
  ContextBreakdownCategorySchema,
69
71
  ContextStatsAccuracy,
70
72
  ContextStatsSchema,
@@ -100,6 +102,7 @@ import {
100
102
  ErrorDetailSchema,
101
103
  ErrorNotificationSchema,
102
104
  ExecToolInfoSchema,
105
+ ExecToolInfoWithSchemasSchema,
103
106
  ExecuteRewindRequestParamsSchema,
104
107
  ExecuteRewindRequestSchema,
105
108
  ExecuteRewindResponseSchema,
@@ -189,7 +192,9 @@ import {
189
192
  ListToolsRequestParamsSchema,
190
193
  ListToolsRequestSchema,
191
194
  ListToolsResponseSchema,
195
+ ListToolsResponseWithSchemasSchema,
192
196
  ListToolsResultSchema,
197
+ ListToolsResultWithSchemasSchema,
193
198
  LoadSessionRequestParamsSchema,
194
199
  LoadSessionRequestSchema,
195
200
  LoadSessionResponseSchema,
@@ -244,6 +249,11 @@ import {
244
249
  OutputFormatSchema,
245
250
  OutputFormatType,
246
251
  PermissionResolvedNotificationSchema,
252
+ PickOptionsRequestParamsSchema,
253
+ PickOptionsRequestSchema,
254
+ PickOptionsResponseSchema,
255
+ PickOptionsResultSchema,
256
+ PickOptionsRowSchema,
247
257
  ProgressLogEntrySchema,
248
258
  ProgressLogEntryType,
249
259
  ProposeMissionConfirmationDetailsSchema,
@@ -276,6 +286,12 @@ import {
276
286
  SESSION_INIT_TIMEOUT,
277
287
  SLACK_DELEGATION_MAX_RETRIES,
278
288
  ServerRequestHandlerType,
289
+ SessionArtifactAction,
290
+ SessionArtifactKind,
291
+ SessionArtifactProvider,
292
+ SessionArtifactSchema,
293
+ SessionArtifactSource,
294
+ SessionArtifactsSchema,
279
295
  SessionMetadataSchema,
280
296
  SessionNotificationParamsSchema,
281
297
  SessionNotificationPayloadSchema,
@@ -344,11 +360,15 @@ import {
344
360
  ToolConfirmationListItemSchema,
345
361
  ToolConfirmationOutcome,
346
362
  ToolConfirmationType,
363
+ ToolJsonSchemaSchema,
347
364
  ToolProgressUpdateNotificationSchema,
348
365
  ToolProgressUpdateSchema,
349
366
  ToolResultNotificationSchema,
350
367
  ToolResultSchema,
368
+ ToolResultSchemaDescriptorSchema,
369
+ ToolSchemasSchema,
351
370
  ToolSelectionOverridesSchema,
371
+ ToolSourceSchema,
352
372
  ToolUseSchema,
353
373
  ToolUseSchema2,
354
374
  TraceContextMetaSchema,
@@ -367,6 +387,7 @@ import {
367
387
  WorkerSelectedFeatureEntrySchema,
368
388
  WorkerStartedEntrySchema,
369
389
  WorkerStateInfoSchema,
390
+ appendContextSession,
370
391
  buildUserMessageContentBlocks,
371
392
  configureDaemonCoreDeps,
372
393
  connectAndAuthenticate,
@@ -374,14 +395,23 @@ import {
374
395
  connectWithRetry,
375
396
  convertNotificationToStreamMessage,
376
397
  createComputer,
398
+ createContextDocument,
399
+ createContextFile,
400
+ createContextSpace,
377
401
  createResponseSchema,
378
402
  createWebSocketDaemonClient,
379
403
  defaultDaemonCoreDeps,
380
404
  deleteComputer,
405
+ deleteContextDocument,
406
+ deleteContextFile,
381
407
  filterMessagesForUI,
382
408
  getComputer,
383
409
  getComputerByName,
384
410
  getComputerMetrics,
411
+ getContextDocument,
412
+ getContextDocumentByPath,
413
+ getContextSession,
414
+ getContextSpace,
385
415
  getMachineTemplate,
386
416
  getPermissionToolInputForDisplay,
387
417
  getQueuedUserMessageDisplayGroup,
@@ -397,21 +427,27 @@ import {
397
427
  isPersistedHookMessage,
398
428
  isReviewableQueuedMessageKind,
399
429
  listComputers,
430
+ listContextDocuments,
431
+ listContextSessions,
432
+ listContextSpaces,
400
433
  listMachineTemplates,
401
434
  listRemoteSessions,
402
435
  machineTypeToMachineConnectionType,
403
- orderMessagesByParentChain,
436
+ readContextFilePart,
437
+ readContextSessionRecords,
404
438
  recordComputerConnectSli,
405
439
  refreshComputer,
406
- repairParentChainCorruption,
440
+ registerContextSession,
407
441
  restartComputer,
408
442
  retryInstallDeps,
409
443
  retryWithLogger,
410
444
  sumTokenUsage,
411
445
  summarizeSessionToolUsage,
412
446
  toError,
413
- updateComputer
414
- } from "./chunk-KXDG5ZWS.mjs";
447
+ updateComputer,
448
+ updateContextDocument,
449
+ uploadContextFilePart
450
+ } from "./chunk-TWAVPIPS.mjs";
415
451
  export {
416
452
  AbortError,
417
453
  AddMcpServerRequestParamsSchema,
@@ -430,6 +466,7 @@ export {
430
466
  AskUserRequestSchema,
431
467
  AskUserResponseSchema,
432
468
  AskUserResultSchema,
469
+ AssistantMessageRetractedNotificationSchema,
433
470
  AssistantTextCompleteNotificationSchema,
434
471
  AssistantTextDeltaNotificationSchema,
435
472
  AuthenticateMcpServerRequestParamsSchema,
@@ -479,6 +516,7 @@ export {
479
516
  ConnectionClosedError,
480
517
  ConnectionFailureReason,
481
518
  ContentBlockSchema,
519
+ ContextApiError,
482
520
  ContextBreakdownCategorySchema,
483
521
  GetContextBreakdownResultSchema as ContextBreakdownResultSchema,
484
522
  ContextStatsAccuracy,
@@ -516,6 +554,7 @@ export {
516
554
  ErrorDetailSchema,
517
555
  ErrorNotificationSchema,
518
556
  ExecToolInfoSchema,
557
+ ExecToolInfoWithSchemasSchema,
519
558
  ExecuteRewindRequestParamsSchema,
520
559
  ExecuteRewindRequestSchema,
521
560
  ExecuteRewindResponseSchema,
@@ -605,7 +644,9 @@ export {
605
644
  ListToolsRequestParamsSchema,
606
645
  ListToolsRequestSchema,
607
646
  ListToolsResponseSchema,
647
+ ListToolsResponseWithSchemasSchema,
608
648
  ListToolsResultSchema,
649
+ ListToolsResultWithSchemasSchema,
609
650
  LoadSessionRequestParamsSchema,
610
651
  LoadSessionRequestSchema,
611
652
  LoadSessionResponseSchema,
@@ -659,6 +700,11 @@ export {
659
700
  OutputFormatSchema,
660
701
  OutputFormatType,
661
702
  PermissionResolvedNotificationSchema,
703
+ PickOptionsRequestParamsSchema,
704
+ PickOptionsRequestSchema,
705
+ PickOptionsResponseSchema,
706
+ PickOptionsResultSchema,
707
+ PickOptionsRowSchema,
662
708
  ProgressLogEntrySchema,
663
709
  ProgressLogEntryType,
664
710
  ProposeMissionConfirmationDetailsSchema,
@@ -691,6 +737,12 @@ export {
691
737
  SESSION_INIT_TIMEOUT,
692
738
  SLACK_DELEGATION_MAX_RETRIES,
693
739
  ServerRequestHandlerType,
740
+ SessionArtifactAction,
741
+ SessionArtifactKind,
742
+ SessionArtifactProvider,
743
+ SessionArtifactSchema,
744
+ SessionArtifactSource,
745
+ SessionArtifactsSchema,
694
746
  SessionMetadataSchema,
695
747
  SessionNotificationParamsSchema,
696
748
  SessionNotificationPayloadSchema,
@@ -759,11 +811,15 @@ export {
759
811
  ToolConfirmationListItemSchema,
760
812
  ToolConfirmationOutcome,
761
813
  ToolConfirmationType,
814
+ ToolJsonSchemaSchema,
762
815
  ToolProgressUpdateNotificationSchema,
763
816
  ToolProgressUpdateSchema,
764
817
  ToolResultSchema as ToolResultBlockSchema,
765
818
  ToolResultNotificationSchema,
819
+ ToolResultSchemaDescriptorSchema,
820
+ ToolSchemasSchema,
766
821
  ToolSelectionOverridesSchema,
822
+ ToolSourceSchema,
767
823
  ToolUseSchema as ToolUseBlockSchema,
768
824
  ToolUseSchema2 as ToolUseSchema,
769
825
  TraceContextMetaSchema,
@@ -782,6 +838,7 @@ export {
782
838
  WorkerSelectedFeatureEntrySchema,
783
839
  WorkerStartedEntrySchema,
784
840
  WorkerStateInfoSchema,
841
+ appendContextSession,
785
842
  buildUserMessageContentBlocks,
786
843
  configureDaemonCoreDeps,
787
844
  connectAndAuthenticate,
@@ -789,14 +846,23 @@ export {
789
846
  connectWithRetry,
790
847
  convertNotificationToStreamMessage,
791
848
  createComputer,
849
+ createContextDocument,
850
+ createContextFile,
851
+ createContextSpace,
792
852
  createResponseSchema,
793
853
  createWebSocketDaemonClient,
794
854
  defaultDaemonCoreDeps,
795
855
  deleteComputer,
856
+ deleteContextDocument,
857
+ deleteContextFile,
796
858
  filterMessagesForUI,
797
859
  getComputer,
798
860
  getComputerByName,
799
861
  getComputerMetrics,
862
+ getContextDocument,
863
+ getContextDocumentByPath,
864
+ getContextSession,
865
+ getContextSpace,
800
866
  getMachineTemplate,
801
867
  getPermissionToolInputForDisplay,
802
868
  getQueuedUserMessageDisplayGroup,
@@ -812,19 +878,25 @@ export {
812
878
  isPersistedHookMessage,
813
879
  isReviewableQueuedMessageKind,
814
880
  listComputers,
881
+ listContextDocuments,
882
+ listContextSessions,
883
+ listContextSpaces,
815
884
  listMachineTemplates,
816
885
  listRemoteSessions,
817
886
  machineTypeToMachineConnectionType,
818
- orderMessagesByParentChain,
887
+ readContextFilePart,
888
+ readContextSessionRecords,
819
889
  recordComputerConnectSli,
820
890
  refreshComputer,
821
- repairParentChainCorruption,
891
+ registerContextSession,
822
892
  restartComputer,
823
893
  retryInstallDeps,
824
894
  retryWithLogger,
825
895
  sumTokenUsage,
826
896
  summarizeSessionToolUsage,
827
897
  toError,
828
- updateComputer
898
+ updateComputer,
899
+ updateContextDocument,
900
+ uploadContextFilePart
829
901
  };
830
902
  //# sourceMappingURL=index.mjs.map