@moxt-ai/mobius 0.0.332 → 0.0.334

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/cli.js CHANGED
@@ -2086,7 +2086,7 @@ var init_package = __esm({
2086
2086
  "package.json"() {
2087
2087
  package_default = {
2088
2088
  name: "@moxt-ai/mobius",
2089
- version: "0.0.332",
2089
+ version: "0.0.334",
2090
2090
  description: "Mobius CLI for pairing and running local AI agent services.",
2091
2091
  type: "module",
2092
2092
  bin: {
@@ -75300,7 +75300,7 @@ function decode4(value, schema) {
75300
75300
  function encode3(value, schema) {
75301
75301
  return JSON.stringify(decode4(value, schema));
75302
75302
  }
75303
- var MAX_EVENT_COUNT, MAX_COLLECTION_SIZE2, MAX_CONTENT_LENGTH2, SESSION_EVENT_KIND, SESSION_EVENT_BATCH_MAX_SIZE, boundedString2, shortString, externalContentKeySchema, annotationsSchema, contentFields, textContentSchema, imageContentSchema, audioContentSchema, externalImageContentSchema, externalAudioContentSchema, externalResourceContentSchema, resourceLinkSchema, textResourceSchema, blobResourceSchema, embeddedResourceSchema, contentBlockSchema, toolCallContentSchema, toolKindSchema, toolStatusSchema, backgroundTaskSchema, toolPatchFields, planEntrySchema, planContentSchema, commandSchema, configSelectOptionSchema, configSelectGroupSchema, configBaseFields, sessionConfigOptionSchema2, contentChunkFields, acpSessionUpdateSchema, lifecycleBase, promptExecutionContextSchema, lifecycleMetadataSchema, sessionEventPayloadSchema, positionSchema, sharedSessionEventFields, sessionLiveEventFields, sessionEventSchema, sessionLiveEventSchema, sessionEventBatchSchema, sessionLiveEventBatchSchema, sessionExportSchema, mobiusSessionExportSchema, sessionEventEnvelopeSchema, sessionEventLogPageSchema, sessionEventOmissionSchema, nativeEventPageRequestSchema, queuedPromptRequestEventLogSchema, nativeSessionEventsSchema, decodeSessionEvent, decodeSessionEventEnvelope, encodeSessionEventEnvelope, decodeAcpSessionUpdate;
75303
+ var MAX_EVENT_COUNT, MAX_COLLECTION_SIZE2, MAX_CONTENT_LENGTH2, SESSION_EVENT_KIND, SESSION_EVENT_BATCH_MAX_SIZE, boundedString2, shortString, externalContentKeySchema, annotationsSchema, contentFields, textContentSchema, imageContentSchema, audioContentSchema, externalImageContentSchema, externalAudioContentSchema, externalResourceContentSchema, resourceLinkSchema, textResourceSchema, blobResourceSchema, embeddedResourceSchema, contentBlockSchema, toolCallContentSchema, toolKindSchema, toolStatusSchema, backgroundTaskSchema, toolPatchFields, planEntrySchema, planContentSchema, commandSchema, configSelectOptionSchema, configSelectGroupSchema, configBaseFields, sessionConfigOptionSchema2, contentChunkFields, acpSessionUpdateSchema, lifecycleBase, promptExecutionContextSchema, lifecycleMetadataSchema, sessionEventPayloadSchema, positionSchema, sharedSessionEventFields, sessionLiveEventFields, sessionEventSchema, sessionLiveEventSchema, wireLifecyclePayloadSchema, wireEventFields, sessionWireEventSchema, sessionWireEnvelopeSchema, sessionEventBatchSchema, sessionLiveEventBatchSchema, sessionExportSchema, mobiusSessionExportSchema, sessionEventEnvelopeSchema, sessionEventLogPageSchema, sessionEventOmissionSchema, nativeEventPageRequestSchema, queuedPromptRequestEventLogSchema, nativeSessionEventsSchema, decodeSessionEvent, decodeSessionEventEnvelope, encodeSessionEventEnvelope, decodeAcpSessionUpdate;
75304
75304
  var init_event_log = __esm({
75305
75305
  "../mobius-sdk/src/protocol/session/observability/event-log.ts"() {
75306
75306
  "use strict";
@@ -75619,6 +75619,37 @@ var init_event_log = __esm({
75619
75619
  type: external_exports.literal("lifecycle-metadata")
75620
75620
  }).readonly()
75621
75621
  ]);
75622
+ wireLifecyclePayloadSchema = external_exports.object({
75623
+ kind: identifierStringSchema,
75624
+ commandId: identifierStringSchema.optional(),
75625
+ context: promptExecutionContextSchema.unwrap().passthrough().readonly().optional(),
75626
+ event: external_exports.object({ interactionId: identifierStringSchema.optional() }).passthrough().readonly().optional()
75627
+ }).passthrough().readonly();
75628
+ wireEventFields = {
75629
+ ...sessionLiveEventFields,
75630
+ mobiusMetadata: external_exports.object({ omitted: external_exports.literal(true).optional() }).passthrough().readonly().optional()
75631
+ };
75632
+ sessionWireEventSchema = external_exports.union([
75633
+ external_exports.object({
75634
+ ...wireEventFields,
75635
+ type: external_exports.literal("acp"),
75636
+ payload: external_exports.object({ sessionUpdate: identifierStringSchema }).passthrough().readonly()
75637
+ }).passthrough().readonly(),
75638
+ external_exports.object({
75639
+ ...wireEventFields,
75640
+ type: external_exports.literal("lifecycle-metadata"),
75641
+ payload: wireLifecyclePayloadSchema
75642
+ }).passthrough().readonly(),
75643
+ external_exports.object({
75644
+ ...wireEventFields,
75645
+ type: identifierStringSchema.refine((type) => type !== "acp" && type !== "lifecycle-metadata"),
75646
+ payload: external_exports.record(external_exports.string(), external_exports.unknown()).readonly()
75647
+ }).passthrough().readonly()
75648
+ ]);
75649
+ sessionWireEnvelopeSchema = external_exports.object({
75650
+ kind: external_exports.literal(SESSION_EVENT_KIND),
75651
+ events: external_exports.array(sessionWireEventSchema).min(1).max(SESSION_EVENT_BATCH_MAX_SIZE).readonly()
75652
+ }).readonly();
75622
75653
  sessionEventBatchSchema = external_exports.array(sessionEventSchema).min(1).max(SESSION_EVENT_BATCH_MAX_SIZE).readonly();
75623
75654
  sessionLiveEventBatchSchema = external_exports.array(sessionLiveEventSchema).min(1).max(SESSION_EVENT_BATCH_MAX_SIZE).readonly();
75624
75655
  sessionExportSchema = external_exports.object({
@@ -75832,7 +75863,7 @@ var init_recorded_lifecycle_status = __esm({
75832
75863
  });
75833
75864
 
75834
75865
  // ../mobius-sdk/src/protocol/session/recording/recording.ts
75835
- var sessionRecordingWriteSchema, sessionRecordingHistorySchema, sessionRecordingStatusSchema, recordingCursorSchema, sessionRecordingHistoryPageSchema, sessionRecordingSummaryFields, sessionRecordingSummaryV2Schema, sessionRecordingDirectoryV2Schema, sessionRecordingSummarySchema, sessionRecordingDirectorySchema;
75866
+ var sessionRecordingWriteSchema, sessionRecordingWireWriteSchema, sessionRecordingHistorySchema, sessionRecordingStatusSchema, recordingCursorSchema, sessionRecordingHistoryPageSchema, sessionRecordingSummaryFields, sessionRecordingSummaryV2Schema, sessionRecordingDirectoryV2Schema, sessionRecordingSummarySchema, sessionRecordingDirectorySchema;
75836
75867
  var init_recording = __esm({
75837
75868
  "../mobius-sdk/src/protocol/session/recording/recording.ts"() {
75838
75869
  "use strict";
@@ -75845,6 +75876,11 @@ var init_recording = __esm({
75845
75876
  projectId: identifierStringSchema,
75846
75877
  runtimeId: identifierStringSchema
75847
75878
  }).readonly();
75879
+ sessionRecordingWireWriteSchema = external_exports.object({
75880
+ envelope: sessionWireEnvelopeSchema,
75881
+ projectId: identifierStringSchema,
75882
+ runtimeId: identifierStringSchema
75883
+ }).readonly();
75848
75884
  sessionRecordingHistorySchema = external_exports.object({
75849
75885
  events: external_exports.array(sessionLiveEventSchema).readonly(),
75850
75886
  sessionId: identifierStringSchema