@overdeck/contracts 0.41.1 → 0.42.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.cjs +222 -3
- package/dist/index.d.ts +391 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +213 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -388,6 +388,7 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
388
388
|
}>>>;
|
|
389
389
|
}>>;
|
|
390
390
|
readonly issues: Schema.$Array<Schema.Unknown>;
|
|
391
|
+
readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
391
392
|
readonly resources: Schema.optional<Schema.Unknown>;
|
|
392
393
|
readonly memory: Schema.optional<Schema.Unknown>;
|
|
393
394
|
readonly agentRuntimeById: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
@@ -585,6 +586,11 @@ declare const SessionNode: Schema.Struct<{
|
|
|
585
586
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
586
587
|
readonly pausedReason: Schema.optional<Schema.String>;
|
|
587
588
|
readonly pausedAt: Schema.optional<Schema.String>;
|
|
589
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
590
|
+
readonly troubledAt: Schema.optional<Schema.String>;
|
|
591
|
+
readonly troubledReason: Schema.optional<Schema.String>;
|
|
592
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
593
|
+
readonly queuedMailCount: Schema.optional<Schema.Number>;
|
|
588
594
|
readonly modelOrigin: Schema.optional<Schema.Struct<{
|
|
589
595
|
readonly spawnKey: Schema.String;
|
|
590
596
|
readonly resolved: Schema.String;
|
|
@@ -641,6 +647,11 @@ declare const FeatureNode: Schema.Struct<{
|
|
|
641
647
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
642
648
|
readonly pausedReason: Schema.optional<Schema.String>;
|
|
643
649
|
readonly pausedAt: Schema.optional<Schema.String>;
|
|
650
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
651
|
+
readonly troubledAt: Schema.optional<Schema.String>;
|
|
652
|
+
readonly troubledReason: Schema.optional<Schema.String>;
|
|
653
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
654
|
+
readonly queuedMailCount: Schema.optional<Schema.Number>;
|
|
644
655
|
readonly modelOrigin: Schema.optional<Schema.Struct<{
|
|
645
656
|
readonly spawnKey: Schema.String;
|
|
646
657
|
readonly resolved: Schema.String;
|
|
@@ -700,6 +711,11 @@ declare const ProjectSessionTree: Schema.Struct<{
|
|
|
700
711
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
701
712
|
readonly pausedReason: Schema.optional<Schema.String>;
|
|
702
713
|
readonly pausedAt: Schema.optional<Schema.String>;
|
|
714
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
715
|
+
readonly troubledAt: Schema.optional<Schema.String>;
|
|
716
|
+
readonly troubledReason: Schema.optional<Schema.String>;
|
|
717
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
718
|
+
readonly queuedMailCount: Schema.optional<Schema.Number>;
|
|
703
719
|
readonly modelOrigin: Schema.optional<Schema.Struct<{
|
|
704
720
|
readonly spawnKey: Schema.String;
|
|
705
721
|
readonly resolved: Schema.String;
|
|
@@ -721,6 +737,7 @@ type ProjectSessionTree = typeof ProjectSessionTree.Type;
|
|
|
721
737
|
declare const DiscoveredSessionSnapshot: Schema.Struct<{
|
|
722
738
|
readonly id: Schema.Number;
|
|
723
739
|
readonly jsonlPath: Schema.String;
|
|
740
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
724
741
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
725
742
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
726
743
|
readonly workspaceHash: Schema.optional<Schema.String>;
|
|
@@ -737,6 +754,9 @@ declare const DiscoveredSessionSnapshot: Schema.Struct<{
|
|
|
737
754
|
readonly tags: Schema.$Array<Schema.String>;
|
|
738
755
|
readonly summary: Schema.optional<Schema.String>;
|
|
739
756
|
readonly summaryDetailed: Schema.optional<Schema.String>;
|
|
757
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
758
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
759
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
740
760
|
readonly enrichmentLevel: Schema.Number;
|
|
741
761
|
readonly enrichmentModel: Schema.optional<Schema.String>;
|
|
742
762
|
readonly enrichedAt: Schema.optional<Schema.String>;
|
|
@@ -747,8 +767,73 @@ declare const DiscoveredSessionSnapshot: Schema.Struct<{
|
|
|
747
767
|
readonly scannedAt: Schema.String;
|
|
748
768
|
}>;
|
|
749
769
|
type DiscoveredSessionSnapshot = typeof DiscoveredSessionSnapshot.Type;
|
|
770
|
+
declare const SessionsFeedSource: Schema.Literals<readonly ["discovered", "managed-archived"]>;
|
|
771
|
+
type SessionsFeedSource = typeof SessionsFeedSource.Type;
|
|
772
|
+
declare const SessionsFeedRowSnapshot: Schema.Struct<{
|
|
773
|
+
readonly id: Schema.Number;
|
|
774
|
+
readonly source: Schema.Literals<readonly ["discovered", "managed-archived"]>;
|
|
775
|
+
readonly discoveredId: Schema.optional<Schema.Number>;
|
|
776
|
+
readonly jsonlPath: Schema.optional<Schema.String>;
|
|
777
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
778
|
+
readonly workspacePath: Schema.optional<Schema.String>;
|
|
779
|
+
readonly messageCount: Schema.Number;
|
|
780
|
+
readonly firstTs: Schema.optional<Schema.String>;
|
|
781
|
+
readonly lastTs: Schema.optional<Schema.String>;
|
|
782
|
+
readonly primaryModel: Schema.optional<Schema.String>;
|
|
783
|
+
readonly tokenInput: Schema.Number;
|
|
784
|
+
readonly tokenOutput: Schema.Number;
|
|
785
|
+
readonly estimatedCost: Schema.Number;
|
|
786
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
787
|
+
readonly summary: Schema.optional<Schema.String>;
|
|
788
|
+
readonly enrichmentLevel: Schema.Number;
|
|
789
|
+
readonly enrichmentFailed: Schema.Boolean;
|
|
790
|
+
readonly overdeckManaged: Schema.Boolean;
|
|
791
|
+
readonly panIssueId: Schema.optional<Schema.String>;
|
|
792
|
+
readonly archivedAt: Schema.optional<Schema.String>;
|
|
793
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
794
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
795
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
796
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
797
|
+
}>;
|
|
798
|
+
type SessionsFeedRowSnapshot = typeof SessionsFeedRowSnapshot.Type;
|
|
799
|
+
declare const SessionsFeedFacetsSnapshot: Schema.Struct<{
|
|
800
|
+
readonly primaryModels: Schema.$Array<Schema.Struct<{
|
|
801
|
+
readonly value: Schema.String;
|
|
802
|
+
readonly count: Schema.Number;
|
|
803
|
+
}>>;
|
|
804
|
+
readonly tags: Schema.$Array<Schema.Struct<{
|
|
805
|
+
readonly value: Schema.String;
|
|
806
|
+
readonly count: Schema.Number;
|
|
807
|
+
}>>;
|
|
808
|
+
readonly tools: Schema.$Array<Schema.Struct<{
|
|
809
|
+
readonly value: Schema.String;
|
|
810
|
+
readonly count: Schema.Number;
|
|
811
|
+
}>>;
|
|
812
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
813
|
+
readonly value: Schema.String;
|
|
814
|
+
readonly count: Schema.Number;
|
|
815
|
+
}>>;
|
|
816
|
+
readonly enrichmentLevels: Schema.$Array<Schema.Struct<{
|
|
817
|
+
readonly value: Schema.Number;
|
|
818
|
+
readonly count: Schema.Number;
|
|
819
|
+
}>>;
|
|
820
|
+
readonly timeBuckets: Schema.$Array<Schema.Struct<{
|
|
821
|
+
readonly value: Schema.Literals<readonly ["24h", "7d", "30d", "older"]>;
|
|
822
|
+
readonly count: Schema.Number;
|
|
823
|
+
}>>;
|
|
824
|
+
readonly costBuckets: Schema.$Array<Schema.Struct<{
|
|
825
|
+
readonly value: Schema.Literals<readonly ["<$0.10", "$0.10-1", "$1-10", ">$10"]>;
|
|
826
|
+
readonly count: Schema.Number;
|
|
827
|
+
}>>;
|
|
828
|
+
readonly sources: Schema.$Array<Schema.Struct<{
|
|
829
|
+
readonly value: Schema.Literals<readonly ["discovered", "managed-archived"]>;
|
|
830
|
+
readonly count: Schema.Number;
|
|
831
|
+
}>>;
|
|
832
|
+
}>;
|
|
833
|
+
type SessionsFeedFacetsSnapshot = typeof SessionsFeedFacetsSnapshot.Type;
|
|
750
834
|
/** Filter parameters for conversation search */
|
|
751
835
|
declare const ConversationFilter: Schema.Struct<{
|
|
836
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
752
837
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
753
838
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
754
839
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -3467,6 +3552,8 @@ declare const WS_METHODS: {
|
|
|
3467
3552
|
readonly scanConversations: "pan.scanConversations";
|
|
3468
3553
|
readonly searchConversations: "pan.searchConversations";
|
|
3469
3554
|
readonly listDiscoveredSessions: "pan.listDiscoveredSessions";
|
|
3555
|
+
readonly listSessionsFeed: "pan.listSessionsFeed";
|
|
3556
|
+
readonly getSessionsFeedFacets: "pan.getSessionsFeedFacets";
|
|
3470
3557
|
readonly getDiscoveredSession: "pan.getDiscoveredSession";
|
|
3471
3558
|
readonly enrichSessions: "pan.enrichSessions";
|
|
3472
3559
|
readonly embedSessions: "pan.embedSessions";
|
|
@@ -6044,6 +6131,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
6044
6131
|
}>>>;
|
|
6045
6132
|
}>>;
|
|
6046
6133
|
readonly issues: Schema.$Array<Schema.Unknown>;
|
|
6134
|
+
readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
6047
6135
|
readonly resources: Schema.optional<Schema.Unknown>;
|
|
6048
6136
|
readonly memory: Schema.optional<Schema.Unknown>;
|
|
6049
6137
|
readonly agentRuntimeById: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
@@ -7563,6 +7651,7 @@ declare const ScanConversationsRpc: Rpc.Rpc<"pan.scanConversations", Schema.Stru
|
|
|
7563
7651
|
}>, typeof PanRpcError, never, never>;
|
|
7564
7652
|
/** Search discovered sessions with filters + optional FTS query */
|
|
7565
7653
|
declare const SearchConversationsRpc: Rpc.Rpc<"pan.searchConversations", Schema.Struct<{
|
|
7654
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7566
7655
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7567
7656
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
7568
7657
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -7590,6 +7679,7 @@ declare const SearchConversationsRpc: Rpc.Rpc<"pan.searchConversations", Schema.
|
|
|
7590
7679
|
readonly sessions: Schema.$Array<Schema.Struct<{
|
|
7591
7680
|
readonly id: Schema.Number;
|
|
7592
7681
|
readonly jsonlPath: Schema.String;
|
|
7682
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7593
7683
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
7594
7684
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7595
7685
|
readonly workspaceHash: Schema.optional<Schema.String>;
|
|
@@ -7606,6 +7696,9 @@ declare const SearchConversationsRpc: Rpc.Rpc<"pan.searchConversations", Schema.
|
|
|
7606
7696
|
readonly tags: Schema.$Array<Schema.String>;
|
|
7607
7697
|
readonly summary: Schema.optional<Schema.String>;
|
|
7608
7698
|
readonly summaryDetailed: Schema.optional<Schema.String>;
|
|
7699
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
7700
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
7701
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
7609
7702
|
readonly enrichmentLevel: Schema.Number;
|
|
7610
7703
|
readonly enrichmentModel: Schema.optional<Schema.String>;
|
|
7611
7704
|
readonly enrichedAt: Schema.optional<Schema.String>;
|
|
@@ -7622,6 +7715,7 @@ declare const SearchConversationsRpc: Rpc.Rpc<"pan.searchConversations", Schema.
|
|
|
7622
7715
|
}>, typeof PanRpcError, never, never>;
|
|
7623
7716
|
/** List discovered sessions (recent, with optional managed/unmanaged filter) */
|
|
7624
7717
|
declare const ListDiscoveredSessionsRpc: Rpc.Rpc<"pan.listDiscoveredSessions", Schema.Struct<{
|
|
7718
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7625
7719
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7626
7720
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
7627
7721
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -7649,6 +7743,7 @@ declare const ListDiscoveredSessionsRpc: Rpc.Rpc<"pan.listDiscoveredSessions", S
|
|
|
7649
7743
|
readonly sessions: Schema.$Array<Schema.Struct<{
|
|
7650
7744
|
readonly id: Schema.Number;
|
|
7651
7745
|
readonly jsonlPath: Schema.String;
|
|
7746
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7652
7747
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
7653
7748
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7654
7749
|
readonly workspaceHash: Schema.optional<Schema.String>;
|
|
@@ -7665,6 +7760,9 @@ declare const ListDiscoveredSessionsRpc: Rpc.Rpc<"pan.listDiscoveredSessions", S
|
|
|
7665
7760
|
readonly tags: Schema.$Array<Schema.String>;
|
|
7666
7761
|
readonly summary: Schema.optional<Schema.String>;
|
|
7667
7762
|
readonly summaryDetailed: Schema.optional<Schema.String>;
|
|
7763
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
7764
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
7765
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
7668
7766
|
readonly enrichmentLevel: Schema.Number;
|
|
7669
7767
|
readonly enrichmentModel: Schema.optional<Schema.String>;
|
|
7670
7768
|
readonly enrichedAt: Schema.optional<Schema.String>;
|
|
@@ -7677,12 +7775,130 @@ declare const ListDiscoveredSessionsRpc: Rpc.Rpc<"pan.listDiscoveredSessions", S
|
|
|
7677
7775
|
readonly count: Schema.Number;
|
|
7678
7776
|
readonly total: Schema.Number;
|
|
7679
7777
|
}>, typeof PanRpcError, never, never>;
|
|
7778
|
+
/** List the unified discovered + managed archived sessions feed */
|
|
7779
|
+
declare const ListSessionsFeedRpc: Rpc.Rpc<"pan.listSessionsFeed", Schema.Struct<{
|
|
7780
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7781
|
+
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7782
|
+
readonly primaryModel: Schema.optional<Schema.String>;
|
|
7783
|
+
readonly managed: Schema.optional<Schema.Boolean>;
|
|
7784
|
+
readonly unmanaged: Schema.optional<Schema.Boolean>;
|
|
7785
|
+
readonly since: Schema.optional<Schema.String>;
|
|
7786
|
+
readonly before: Schema.optional<Schema.String>;
|
|
7787
|
+
readonly after: Schema.optional<Schema.String>;
|
|
7788
|
+
readonly minCost: Schema.optional<Schema.Number>;
|
|
7789
|
+
readonly maxCost: Schema.optional<Schema.Number>;
|
|
7790
|
+
readonly minMessages: Schema.optional<Schema.Number>;
|
|
7791
|
+
readonly tags: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7792
|
+
readonly tools: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7793
|
+
readonly files: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7794
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
7795
|
+
readonly enrichmentLevel: Schema.optional<Schema.Number>;
|
|
7796
|
+
readonly enriched: Schema.optional<Schema.Boolean>;
|
|
7797
|
+
readonly notEnriched: Schema.optional<Schema.Boolean>;
|
|
7798
|
+
readonly query: Schema.optional<Schema.String>;
|
|
7799
|
+
readonly semantic: Schema.optional<Schema.Boolean>;
|
|
7800
|
+
readonly similarTo: Schema.optional<Schema.Number>;
|
|
7801
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
7802
|
+
readonly offset: Schema.optional<Schema.Number>;
|
|
7803
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
7804
|
+
readonly source: Schema.optional<Schema.Literals<readonly ["discovered", "managed-archived"]>>;
|
|
7805
|
+
}>, Schema.Struct<{
|
|
7806
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
7807
|
+
readonly id: Schema.Number;
|
|
7808
|
+
readonly source: Schema.Literals<readonly ["discovered", "managed-archived"]>;
|
|
7809
|
+
readonly discoveredId: Schema.optional<Schema.Number>;
|
|
7810
|
+
readonly jsonlPath: Schema.optional<Schema.String>;
|
|
7811
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
7812
|
+
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7813
|
+
readonly messageCount: Schema.Number;
|
|
7814
|
+
readonly firstTs: Schema.optional<Schema.String>;
|
|
7815
|
+
readonly lastTs: Schema.optional<Schema.String>;
|
|
7816
|
+
readonly primaryModel: Schema.optional<Schema.String>;
|
|
7817
|
+
readonly tokenInput: Schema.Number;
|
|
7818
|
+
readonly tokenOutput: Schema.Number;
|
|
7819
|
+
readonly estimatedCost: Schema.Number;
|
|
7820
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
7821
|
+
readonly summary: Schema.optional<Schema.String>;
|
|
7822
|
+
readonly enrichmentLevel: Schema.Number;
|
|
7823
|
+
readonly enrichmentFailed: Schema.Boolean;
|
|
7824
|
+
readonly overdeckManaged: Schema.Boolean;
|
|
7825
|
+
readonly panIssueId: Schema.optional<Schema.String>;
|
|
7826
|
+
readonly archivedAt: Schema.optional<Schema.String>;
|
|
7827
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
7828
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
7829
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
7830
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7831
|
+
}>>;
|
|
7832
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
7833
|
+
}>, typeof PanRpcError, never, never>;
|
|
7834
|
+
/** Get facet buckets for the unified sessions feed */
|
|
7835
|
+
declare const GetSessionsFeedFacetsRpc: Rpc.Rpc<"pan.getSessionsFeedFacets", Schema.Struct<{
|
|
7836
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7837
|
+
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7838
|
+
readonly primaryModel: Schema.optional<Schema.String>;
|
|
7839
|
+
readonly managed: Schema.optional<Schema.Boolean>;
|
|
7840
|
+
readonly unmanaged: Schema.optional<Schema.Boolean>;
|
|
7841
|
+
readonly since: Schema.optional<Schema.String>;
|
|
7842
|
+
readonly before: Schema.optional<Schema.String>;
|
|
7843
|
+
readonly after: Schema.optional<Schema.String>;
|
|
7844
|
+
readonly minCost: Schema.optional<Schema.Number>;
|
|
7845
|
+
readonly maxCost: Schema.optional<Schema.Number>;
|
|
7846
|
+
readonly minMessages: Schema.optional<Schema.Number>;
|
|
7847
|
+
readonly tags: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7848
|
+
readonly tools: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7849
|
+
readonly files: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7850
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
7851
|
+
readonly enrichmentLevel: Schema.optional<Schema.Number>;
|
|
7852
|
+
readonly enriched: Schema.optional<Schema.Boolean>;
|
|
7853
|
+
readonly notEnriched: Schema.optional<Schema.Boolean>;
|
|
7854
|
+
readonly query: Schema.optional<Schema.String>;
|
|
7855
|
+
readonly semantic: Schema.optional<Schema.Boolean>;
|
|
7856
|
+
readonly similarTo: Schema.optional<Schema.Number>;
|
|
7857
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
7858
|
+
readonly offset: Schema.optional<Schema.Number>;
|
|
7859
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
7860
|
+
readonly source: Schema.optional<Schema.Literals<readonly ["discovered", "managed-archived"]>>;
|
|
7861
|
+
}>, Schema.Struct<{
|
|
7862
|
+
readonly primaryModels: Schema.$Array<Schema.Struct<{
|
|
7863
|
+
readonly value: Schema.String;
|
|
7864
|
+
readonly count: Schema.Number;
|
|
7865
|
+
}>>;
|
|
7866
|
+
readonly tags: Schema.$Array<Schema.Struct<{
|
|
7867
|
+
readonly value: Schema.String;
|
|
7868
|
+
readonly count: Schema.Number;
|
|
7869
|
+
}>>;
|
|
7870
|
+
readonly tools: Schema.$Array<Schema.Struct<{
|
|
7871
|
+
readonly value: Schema.String;
|
|
7872
|
+
readonly count: Schema.Number;
|
|
7873
|
+
}>>;
|
|
7874
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
7875
|
+
readonly value: Schema.String;
|
|
7876
|
+
readonly count: Schema.Number;
|
|
7877
|
+
}>>;
|
|
7878
|
+
readonly enrichmentLevels: Schema.$Array<Schema.Struct<{
|
|
7879
|
+
readonly value: Schema.Number;
|
|
7880
|
+
readonly count: Schema.Number;
|
|
7881
|
+
}>>;
|
|
7882
|
+
readonly timeBuckets: Schema.$Array<Schema.Struct<{
|
|
7883
|
+
readonly value: Schema.Literals<readonly ["24h", "7d", "30d", "older"]>;
|
|
7884
|
+
readonly count: Schema.Number;
|
|
7885
|
+
}>>;
|
|
7886
|
+
readonly costBuckets: Schema.$Array<Schema.Struct<{
|
|
7887
|
+
readonly value: Schema.Literals<readonly ["<$0.10", "$0.10-1", "$1-10", ">$10"]>;
|
|
7888
|
+
readonly count: Schema.Number;
|
|
7889
|
+
}>>;
|
|
7890
|
+
readonly sources: Schema.$Array<Schema.Struct<{
|
|
7891
|
+
readonly value: Schema.Literals<readonly ["discovered", "managed-archived"]>;
|
|
7892
|
+
readonly count: Schema.Number;
|
|
7893
|
+
}>>;
|
|
7894
|
+
}>, typeof PanRpcError, never, never>;
|
|
7680
7895
|
/** Get a single discovered session by ID */
|
|
7681
7896
|
declare const GetDiscoveredSessionRpc: Rpc.Rpc<"pan.getDiscoveredSession", Schema.Struct<{
|
|
7682
7897
|
readonly id: Schema.Number;
|
|
7683
7898
|
}>, Schema.Struct<{
|
|
7684
7899
|
readonly id: Schema.Number;
|
|
7685
7900
|
readonly jsonlPath: Schema.String;
|
|
7901
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7686
7902
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
7687
7903
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7688
7904
|
readonly workspaceHash: Schema.optional<Schema.String>;
|
|
@@ -7699,6 +7915,9 @@ declare const GetDiscoveredSessionRpc: Rpc.Rpc<"pan.getDiscoveredSession", Schem
|
|
|
7699
7915
|
readonly tags: Schema.$Array<Schema.String>;
|
|
7700
7916
|
readonly summary: Schema.optional<Schema.String>;
|
|
7701
7917
|
readonly summaryDetailed: Schema.optional<Schema.String>;
|
|
7918
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
7919
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
7920
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
7702
7921
|
readonly enrichmentLevel: Schema.Number;
|
|
7703
7922
|
readonly enrichmentModel: Schema.optional<Schema.String>;
|
|
7704
7923
|
readonly enrichedAt: Schema.optional<Schema.String>;
|
|
@@ -7712,6 +7931,7 @@ declare const GetDiscoveredSessionRpc: Rpc.Rpc<"pan.getDiscoveredSession", Schem
|
|
|
7712
7931
|
declare const EnrichSessionsRpc: Rpc.Rpc<"pan.enrichSessions", Schema.Struct<{
|
|
7713
7932
|
readonly ids: Schema.optional<Schema.$Array<Schema.Number>>;
|
|
7714
7933
|
readonly filter: Schema.optional<Schema.Struct<{
|
|
7934
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7715
7935
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7716
7936
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
7717
7937
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -7760,6 +7980,7 @@ declare const EmbedSessionsRpc: Rpc.Rpc<"pan.embedSessions", Schema.Struct<{
|
|
|
7760
7980
|
}>, typeof PanRpcError, never, never>;
|
|
7761
7981
|
/** Aggregate cost totals for discovered sessions */
|
|
7762
7982
|
declare const GetConversationCostRpc: Rpc.Rpc<"pan.getConversationCost", Schema.Struct<{
|
|
7983
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7763
7984
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7764
7985
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
7765
7986
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -7791,6 +8012,7 @@ declare const GetConversationCostRpc: Rpc.Rpc<"pan.getConversationCost", Schema.
|
|
|
7791
8012
|
}>, typeof PanRpcError, never, never>;
|
|
7792
8013
|
/** Aggregate workspace cost totals for the full filtered corpus */
|
|
7793
8014
|
declare const GetConversationCostByWorkspaceRpc: Rpc.Rpc<"pan.getConversationCostByWorkspace", Schema.Struct<{
|
|
8015
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
7794
8016
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
7795
8017
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
7796
8018
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -10214,6 +10436,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10214
10436
|
}>>>;
|
|
10215
10437
|
}>>;
|
|
10216
10438
|
readonly issues: Schema.$Array<Schema.Unknown>;
|
|
10439
|
+
readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
10217
10440
|
readonly resources: Schema.optional<Schema.Unknown>;
|
|
10218
10441
|
readonly memory: Schema.optional<Schema.Unknown>;
|
|
10219
10442
|
readonly agentRuntimeById: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
@@ -11654,6 +11877,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11654
11877
|
readonly errors: Schema.Number;
|
|
11655
11878
|
readonly durationMs: Schema.Number;
|
|
11656
11879
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.searchConversations", Schema.Struct<{
|
|
11880
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
11657
11881
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
11658
11882
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
11659
11883
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -11681,6 +11905,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11681
11905
|
readonly sessions: Schema.$Array<Schema.Struct<{
|
|
11682
11906
|
readonly id: Schema.Number;
|
|
11683
11907
|
readonly jsonlPath: Schema.String;
|
|
11908
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
11684
11909
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
11685
11910
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
11686
11911
|
readonly workspaceHash: Schema.optional<Schema.String>;
|
|
@@ -11697,6 +11922,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11697
11922
|
readonly tags: Schema.$Array<Schema.String>;
|
|
11698
11923
|
readonly summary: Schema.optional<Schema.String>;
|
|
11699
11924
|
readonly summaryDetailed: Schema.optional<Schema.String>;
|
|
11925
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
11926
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
11927
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
11700
11928
|
readonly enrichmentLevel: Schema.Number;
|
|
11701
11929
|
readonly enrichmentModel: Schema.optional<Schema.String>;
|
|
11702
11930
|
readonly enrichedAt: Schema.optional<Schema.String>;
|
|
@@ -11711,6 +11939,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11711
11939
|
readonly durationMs: Schema.Number;
|
|
11712
11940
|
readonly error: Schema.optional<Schema.String>;
|
|
11713
11941
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.listDiscoveredSessions", Schema.Struct<{
|
|
11942
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
11714
11943
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
11715
11944
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
11716
11945
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -11738,6 +11967,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11738
11967
|
readonly sessions: Schema.$Array<Schema.Struct<{
|
|
11739
11968
|
readonly id: Schema.Number;
|
|
11740
11969
|
readonly jsonlPath: Schema.String;
|
|
11970
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
11741
11971
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
11742
11972
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
11743
11973
|
readonly workspaceHash: Schema.optional<Schema.String>;
|
|
@@ -11754,6 +11984,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11754
11984
|
readonly tags: Schema.$Array<Schema.String>;
|
|
11755
11985
|
readonly summary: Schema.optional<Schema.String>;
|
|
11756
11986
|
readonly summaryDetailed: Schema.optional<Schema.String>;
|
|
11987
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
11988
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
11989
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
11757
11990
|
readonly enrichmentLevel: Schema.Number;
|
|
11758
11991
|
readonly enrichmentModel: Schema.optional<Schema.String>;
|
|
11759
11992
|
readonly enrichedAt: Schema.optional<Schema.String>;
|
|
@@ -11765,11 +11998,125 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11765
11998
|
}>>;
|
|
11766
11999
|
readonly count: Schema.Number;
|
|
11767
12000
|
readonly total: Schema.Number;
|
|
12001
|
+
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.listSessionsFeed", Schema.Struct<{
|
|
12002
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
12003
|
+
readonly workspacePath: Schema.optional<Schema.String>;
|
|
12004
|
+
readonly primaryModel: Schema.optional<Schema.String>;
|
|
12005
|
+
readonly managed: Schema.optional<Schema.Boolean>;
|
|
12006
|
+
readonly unmanaged: Schema.optional<Schema.Boolean>;
|
|
12007
|
+
readonly since: Schema.optional<Schema.String>;
|
|
12008
|
+
readonly before: Schema.optional<Schema.String>;
|
|
12009
|
+
readonly after: Schema.optional<Schema.String>;
|
|
12010
|
+
readonly minCost: Schema.optional<Schema.Number>;
|
|
12011
|
+
readonly maxCost: Schema.optional<Schema.Number>;
|
|
12012
|
+
readonly minMessages: Schema.optional<Schema.Number>;
|
|
12013
|
+
readonly tags: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12014
|
+
readonly tools: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12015
|
+
readonly files: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12016
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
12017
|
+
readonly enrichmentLevel: Schema.optional<Schema.Number>;
|
|
12018
|
+
readonly enriched: Schema.optional<Schema.Boolean>;
|
|
12019
|
+
readonly notEnriched: Schema.optional<Schema.Boolean>;
|
|
12020
|
+
readonly query: Schema.optional<Schema.String>;
|
|
12021
|
+
readonly semantic: Schema.optional<Schema.Boolean>;
|
|
12022
|
+
readonly similarTo: Schema.optional<Schema.Number>;
|
|
12023
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
12024
|
+
readonly offset: Schema.optional<Schema.Number>;
|
|
12025
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
12026
|
+
readonly source: Schema.optional<Schema.Literals<readonly ["discovered", "managed-archived"]>>;
|
|
12027
|
+
}>, Schema.Struct<{
|
|
12028
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
12029
|
+
readonly id: Schema.Number;
|
|
12030
|
+
readonly source: Schema.Literals<readonly ["discovered", "managed-archived"]>;
|
|
12031
|
+
readonly discoveredId: Schema.optional<Schema.Number>;
|
|
12032
|
+
readonly jsonlPath: Schema.optional<Schema.String>;
|
|
12033
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
12034
|
+
readonly workspacePath: Schema.optional<Schema.String>;
|
|
12035
|
+
readonly messageCount: Schema.Number;
|
|
12036
|
+
readonly firstTs: Schema.optional<Schema.String>;
|
|
12037
|
+
readonly lastTs: Schema.optional<Schema.String>;
|
|
12038
|
+
readonly primaryModel: Schema.optional<Schema.String>;
|
|
12039
|
+
readonly tokenInput: Schema.Number;
|
|
12040
|
+
readonly tokenOutput: Schema.Number;
|
|
12041
|
+
readonly estimatedCost: Schema.Number;
|
|
12042
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
12043
|
+
readonly summary: Schema.optional<Schema.String>;
|
|
12044
|
+
readonly enrichmentLevel: Schema.Number;
|
|
12045
|
+
readonly enrichmentFailed: Schema.Boolean;
|
|
12046
|
+
readonly overdeckManaged: Schema.Boolean;
|
|
12047
|
+
readonly panIssueId: Schema.optional<Schema.String>;
|
|
12048
|
+
readonly archivedAt: Schema.optional<Schema.String>;
|
|
12049
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
12050
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
12051
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
12052
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
12053
|
+
}>>;
|
|
12054
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
12055
|
+
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.getSessionsFeedFacets", Schema.Struct<{
|
|
12056
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
12057
|
+
readonly workspacePath: Schema.optional<Schema.String>;
|
|
12058
|
+
readonly primaryModel: Schema.optional<Schema.String>;
|
|
12059
|
+
readonly managed: Schema.optional<Schema.Boolean>;
|
|
12060
|
+
readonly unmanaged: Schema.optional<Schema.Boolean>;
|
|
12061
|
+
readonly since: Schema.optional<Schema.String>;
|
|
12062
|
+
readonly before: Schema.optional<Schema.String>;
|
|
12063
|
+
readonly after: Schema.optional<Schema.String>;
|
|
12064
|
+
readonly minCost: Schema.optional<Schema.Number>;
|
|
12065
|
+
readonly maxCost: Schema.optional<Schema.Number>;
|
|
12066
|
+
readonly minMessages: Schema.optional<Schema.Number>;
|
|
12067
|
+
readonly tags: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12068
|
+
readonly tools: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12069
|
+
readonly files: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12070
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
12071
|
+
readonly enrichmentLevel: Schema.optional<Schema.Number>;
|
|
12072
|
+
readonly enriched: Schema.optional<Schema.Boolean>;
|
|
12073
|
+
readonly notEnriched: Schema.optional<Schema.Boolean>;
|
|
12074
|
+
readonly query: Schema.optional<Schema.String>;
|
|
12075
|
+
readonly semantic: Schema.optional<Schema.Boolean>;
|
|
12076
|
+
readonly similarTo: Schema.optional<Schema.Number>;
|
|
12077
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
12078
|
+
readonly offset: Schema.optional<Schema.Number>;
|
|
12079
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
12080
|
+
readonly source: Schema.optional<Schema.Literals<readonly ["discovered", "managed-archived"]>>;
|
|
12081
|
+
}>, Schema.Struct<{
|
|
12082
|
+
readonly primaryModels: Schema.$Array<Schema.Struct<{
|
|
12083
|
+
readonly value: Schema.String;
|
|
12084
|
+
readonly count: Schema.Number;
|
|
12085
|
+
}>>;
|
|
12086
|
+
readonly tags: Schema.$Array<Schema.Struct<{
|
|
12087
|
+
readonly value: Schema.String;
|
|
12088
|
+
readonly count: Schema.Number;
|
|
12089
|
+
}>>;
|
|
12090
|
+
readonly tools: Schema.$Array<Schema.Struct<{
|
|
12091
|
+
readonly value: Schema.String;
|
|
12092
|
+
readonly count: Schema.Number;
|
|
12093
|
+
}>>;
|
|
12094
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
12095
|
+
readonly value: Schema.String;
|
|
12096
|
+
readonly count: Schema.Number;
|
|
12097
|
+
}>>;
|
|
12098
|
+
readonly enrichmentLevels: Schema.$Array<Schema.Struct<{
|
|
12099
|
+
readonly value: Schema.Number;
|
|
12100
|
+
readonly count: Schema.Number;
|
|
12101
|
+
}>>;
|
|
12102
|
+
readonly timeBuckets: Schema.$Array<Schema.Struct<{
|
|
12103
|
+
readonly value: Schema.Literals<readonly ["24h", "7d", "30d", "older"]>;
|
|
12104
|
+
readonly count: Schema.Number;
|
|
12105
|
+
}>>;
|
|
12106
|
+
readonly costBuckets: Schema.$Array<Schema.Struct<{
|
|
12107
|
+
readonly value: Schema.Literals<readonly ["<$0.10", "$0.10-1", "$1-10", ">$10"]>;
|
|
12108
|
+
readonly count: Schema.Number;
|
|
12109
|
+
}>>;
|
|
12110
|
+
readonly sources: Schema.$Array<Schema.Struct<{
|
|
12111
|
+
readonly value: Schema.Literals<readonly ["discovered", "managed-archived"]>;
|
|
12112
|
+
readonly count: Schema.Number;
|
|
12113
|
+
}>>;
|
|
11768
12114
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.getDiscoveredSession", Schema.Struct<{
|
|
11769
12115
|
readonly id: Schema.Number;
|
|
11770
12116
|
}>, Schema.Struct<{
|
|
11771
12117
|
readonly id: Schema.Number;
|
|
11772
12118
|
readonly jsonlPath: Schema.String;
|
|
12119
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
11773
12120
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
11774
12121
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
11775
12122
|
readonly workspaceHash: Schema.optional<Schema.String>;
|
|
@@ -11786,6 +12133,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11786
12133
|
readonly tags: Schema.$Array<Schema.String>;
|
|
11787
12134
|
readonly summary: Schema.optional<Schema.String>;
|
|
11788
12135
|
readonly summaryDetailed: Schema.optional<Schema.String>;
|
|
12136
|
+
readonly conversationId: Schema.optional<Schema.String>;
|
|
12137
|
+
readonly conversationName: Schema.optional<Schema.String>;
|
|
12138
|
+
readonly conversationTitle: Schema.optional<Schema.String>;
|
|
11789
12139
|
readonly enrichmentLevel: Schema.Number;
|
|
11790
12140
|
readonly enrichmentModel: Schema.optional<Schema.String>;
|
|
11791
12141
|
readonly enrichedAt: Schema.optional<Schema.String>;
|
|
@@ -11797,6 +12147,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11797
12147
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.enrichSessions", Schema.Struct<{
|
|
11798
12148
|
readonly ids: Schema.optional<Schema.$Array<Schema.Number>>;
|
|
11799
12149
|
readonly filter: Schema.optional<Schema.Struct<{
|
|
12150
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
11800
12151
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
11801
12152
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
11802
12153
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -11841,6 +12192,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11841
12192
|
readonly embedded: Schema.Number;
|
|
11842
12193
|
readonly model: Schema.String;
|
|
11843
12194
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.getConversationCost", Schema.Struct<{
|
|
12195
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
11844
12196
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
11845
12197
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
11846
12198
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -11870,6 +12222,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11870
12222
|
readonly totalTokensIn: Schema.Number;
|
|
11871
12223
|
readonly totalTokensOut: Schema.Number;
|
|
11872
12224
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.getConversationCostByWorkspace", Schema.Struct<{
|
|
12225
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
11873
12226
|
readonly workspacePath: Schema.optional<Schema.String>;
|
|
11874
12227
|
readonly primaryModel: Schema.optional<Schema.String>;
|
|
11875
12228
|
readonly managed: Schema.optional<Schema.Boolean>;
|
|
@@ -13574,5 +13927,42 @@ interface FeatureRegistryOwnershipUpdate {
|
|
|
13574
13927
|
now?: string;
|
|
13575
13928
|
}
|
|
13576
13929
|
//#endregion
|
|
13577
|
-
|
|
13930
|
+
//#region src/harness-behavior.d.ts
|
|
13931
|
+
type RuntimeName = Harness;
|
|
13932
|
+
type HarnessName = RuntimeName | "pi";
|
|
13933
|
+
type HarnessLaunchCommandKind = "claude-code" | "ohmypi-rpc" | "codex-work-tui";
|
|
13934
|
+
type HarnessDeliveryKind = "pty-supervisor" | "rpc-fifo" | "codex-exec-resume" | "tmux-paste";
|
|
13935
|
+
type HarnessReadinessKind = "claude-session-signal" | "ohmypi-ready-file" | "codex-tui-prompt";
|
|
13936
|
+
type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-jsonl";
|
|
13937
|
+
type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id";
|
|
13938
|
+
type HarnessContextLayerKind = "claude" | "pi" | "codex";
|
|
13939
|
+
type HarnessFeedKind = "claude_code" | "pi" | "codex";
|
|
13940
|
+
interface HarnessBehavior {
|
|
13941
|
+
readonly displayName: string;
|
|
13942
|
+
readonly executableName: string;
|
|
13943
|
+
readonly processNames: readonly string[];
|
|
13944
|
+
readonly launchCommandKind: HarnessLaunchCommandKind;
|
|
13945
|
+
readonly deliveryKind: HarnessDeliveryKind;
|
|
13946
|
+
readonly readinessKind: HarnessReadinessKind;
|
|
13947
|
+
readonly transcriptKind: HarnessTranscriptKind;
|
|
13948
|
+
readonly sessionIdSource: HarnessSessionIdSource;
|
|
13949
|
+
readonly contextLayerKind: HarnessContextLayerKind;
|
|
13950
|
+
readonly feedKind: HarnessFeedKind;
|
|
13951
|
+
readonly supportsPtySupervisor: boolean;
|
|
13952
|
+
readonly supportsChannelsBridge: boolean;
|
|
13953
|
+
readonly supportsConversationStreaming: boolean;
|
|
13954
|
+
readonly supportsPatchProjection: boolean;
|
|
13955
|
+
readonly usesRpcFifo: boolean;
|
|
13956
|
+
readonly usesCodexHome: boolean;
|
|
13957
|
+
readonly injectsPromptTimeMemory: boolean;
|
|
13958
|
+
readonly workAgentMode: "claude-code" | "ohmypi-rpc" | "codex-work-tui";
|
|
13959
|
+
readonly readyTimeoutSeconds: number;
|
|
13960
|
+
}
|
|
13961
|
+
declare const CLAUDE_CODE_BEHAVIOR: HarnessBehavior;
|
|
13962
|
+
declare const OHMYPI_BEHAVIOR: HarnessBehavior;
|
|
13963
|
+
declare const CODEX_BEHAVIOR: HarnessBehavior;
|
|
13964
|
+
declare function getHarnessBehavior(harness: HarnessName | undefined | null): HarnessBehavior;
|
|
13965
|
+
declare function getRuntimeBehavior(runtime: RuntimeName): HarnessBehavior;
|
|
13966
|
+
//#endregion
|
|
13967
|
+
export { Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHeartbeatDeadEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentStartedEvent, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CompactBoundary, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationPermissionChangedEvent, ConversationResponse, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DeepWipeRpc, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GetWorkspaceDetailRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, INITIAL_READ_MODEL_STATE, IssueId, IssueStatusChangedEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, MergeStatusValue, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OpenInEditorInput, OperatorInterventionEvent, PanRpcError, PanRpcGroup, PendingTurn, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SystemHealthSeverityChangedEvent, SystemHeartbeatEvent, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, VerificationStatusValue, WS_METHODS, WaitingReason, WaitingState, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, applyEvent, applyEvents, decodeFlywheelStats, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
|
|
13578
13968
|
//# sourceMappingURL=index.d.ts.map
|