codesesh 1.0.1 → 1.0.3
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/README.md +2 -1
- package/dist/{chunk-JHX5OLL4.js → chunk-PSHZZITB.js} +3280 -805
- package/dist/chunk-PSHZZITB.js.map +1 -0
- package/dist/chunk-RF3EEWPH.js +17 -0
- package/dist/chunk-RF3EEWPH.js.map +1 -0
- package/dist/{chunk-OFTTM3UD.js → chunk-WAKW5OPS.js} +2 -2
- package/dist/{dist-N2PQATP2.js → dist-RHDY2EZX.js} +18 -20
- package/dist/index.js +1291 -672
- package/dist/index.js.map +1 -1
- package/dist/project-identity-worker.js +27 -0
- package/dist/project-identity-worker.js.map +1 -0
- package/dist/scan-refresh-worker.js +15 -6
- package/dist/scan-refresh-worker.js.map +1 -1
- package/dist/search-index-worker.js +16 -6
- package/dist/search-index-worker.js.map +1 -1
- package/dist/smart-tag-worker.js +2 -2
- package/dist/web/assets/{ErrorBoundary-D11tWzfn.js → ErrorBoundary-DIwwrdlw.js} +1 -1
- package/dist/web/assets/InteractiveReceipt-DmNBDVms.js +1 -0
- package/dist/web/assets/{OverviewScreen-DriPmCam.js → OverviewScreen-B5JekBLC.js} +1 -1
- package/dist/web/assets/Projects-Bj6ma2k2.js +1 -0
- package/dist/web/assets/{SearchFilterBar-Bx73B5e9.js → SearchFilterBar-B9VrUbym.js} +1 -1
- package/dist/web/assets/{SearchResultsPanel-A6_3TPhW.js → SearchResultsPanel-C1cuuOKq.js} +1 -1
- package/dist/web/assets/SessionDetail-Dc2CQ3hH.js +54 -0
- package/dist/web/assets/contract-DXvltqJG.js +1 -0
- package/dist/web/assets/index-3UfOiTBO.css +1 -0
- package/dist/web/assets/index-DBMiEd61.js +1410 -0
- package/dist/web/assets/panel-CLnL4kMN.js +1 -0
- package/dist/web/assets/{session-indexes-0oT5HSS5.js → session-indexes-BPhf1X2P.js} +2 -2
- package/dist/web/assets/{utils-DgUgu15E.js → utils-BKqufGdv.js} +1 -1
- package/dist/web/icon/agent/dsh.svg +3 -0
- package/dist/web/index.html +8 -8
- package/package.json +1 -1
- package/dist/chunk-JHX5OLL4.js.map +0 -1
- package/dist/web/assets/InteractiveReceipt-DYGyHeZd.js +0 -1
- package/dist/web/assets/Projects-BPDIcUBK.js +0 -1
- package/dist/web/assets/SessionDetail-lQz99ARH.js +0 -54
- package/dist/web/assets/contract-V6QuD0UY.js +0 -1
- package/dist/web/assets/index-B2RqUgZ5.css +0 -1
- package/dist/web/assets/index-BgWoUD_4.js +0 -1410
- package/dist/web/assets/panel-C-gc79Gz.js +0 -1
- /package/dist/{chunk-OFTTM3UD.js.map → chunk-WAKW5OPS.js.map} +0 -0
- /package/dist/{dist-N2PQATP2.js.map → dist-RHDY2EZX.js.map} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/scan-refresh-error.ts
|
|
4
|
+
var AGENT_UNAVAILABLE_DURING_SCAN_ERROR_CODE = "agent-unavailable-during-scan";
|
|
5
|
+
var AgentUnavailableDuringScanError = class extends Error {
|
|
6
|
+
code = AGENT_UNAVAILABLE_DURING_SCAN_ERROR_CODE;
|
|
7
|
+
constructor(agentName) {
|
|
8
|
+
super(`Agent ${agentName} became unavailable during scan`);
|
|
9
|
+
this.name = "AgentUnavailableDuringScanError";
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
AGENT_UNAVAILABLE_DURING_SCAN_ERROR_CODE,
|
|
15
|
+
AgentUnavailableDuringScanError
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=chunk-RF3EEWPH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/scan-refresh-error.ts"],"sourcesContent":["export const AGENT_UNAVAILABLE_DURING_SCAN_ERROR_CODE = \"agent-unavailable-during-scan\";\n\nexport type ScanRefreshWorkerErrorCode = typeof AGENT_UNAVAILABLE_DURING_SCAN_ERROR_CODE;\n\nexport class AgentUnavailableDuringScanError extends Error {\n readonly code = AGENT_UNAVAILABLE_DURING_SCAN_ERROR_CODE;\n\n constructor(agentName: string) {\n super(`Agent ${agentName} became unavailable during scan`);\n this.name = \"AgentUnavailableDuringScanError\";\n }\n}\n"],"mappings":";;;AAAO,IAAM,2CAA2C;AAIjD,IAAM,kCAAN,cAA8C,MAAM;AAAA,EAChD,OAAO;AAAA,EAEhB,YAAY,WAAmB;AAC7B,UAAM,SAAS,SAAS,iCAAiC;AACzD,SAAK,OAAO;AAAA,EACd;AACF;","names":[]}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
restrictExistingPrivateFiles,
|
|
7
7
|
restrictPrivateFile,
|
|
8
8
|
setCoreDiagnostics
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PSHZZITB.js";
|
|
10
10
|
|
|
11
11
|
// src/logging.ts
|
|
12
12
|
import { appendFileSync, existsSync, readdirSync, renameSync, statSync, unlinkSync } from "fs";
|
|
@@ -238,4 +238,4 @@ export {
|
|
|
238
238
|
appLogger,
|
|
239
239
|
logSearchIndexSync
|
|
240
240
|
};
|
|
241
|
-
//# sourceMappingURL=chunk-
|
|
241
|
+
//# sourceMappingURL=chunk-WAKW5OPS.js.map
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
BaseAgent,
|
|
4
4
|
FileSystemSessionSource,
|
|
5
5
|
PRICING_CAPTURE_EPOCH,
|
|
6
|
+
PROJECT_IDENTITY_RESOLVER_REVISION,
|
|
6
7
|
SMART_TAG_CLASSIFIER_REVISION,
|
|
7
8
|
SessionAliasValidationError,
|
|
8
9
|
StateStorageUnavailableError,
|
|
@@ -16,14 +17,12 @@ import {
|
|
|
16
17
|
clearCache,
|
|
17
18
|
closeCacheStorage,
|
|
18
19
|
commitDurableSessionPublication,
|
|
19
|
-
|
|
20
|
+
computeIdentityProjection,
|
|
20
21
|
computeSessionDiff,
|
|
21
|
-
|
|
22
|
+
createProjectScopeMatcherFromIdentity,
|
|
22
23
|
createRegisteredAgents,
|
|
23
|
-
createSessionSourceFailure,
|
|
24
24
|
deleteBookmark,
|
|
25
25
|
deleteSessionAlias,
|
|
26
|
-
diffSessionSources,
|
|
27
26
|
ensurePrivateDirectory,
|
|
28
27
|
ensureSessionTagsSync,
|
|
29
28
|
executeSessionSearch,
|
|
@@ -31,21 +30,19 @@ import {
|
|
|
31
30
|
filterSessionTreeByActivityWindow,
|
|
32
31
|
getAgentFullSyncCursor,
|
|
33
32
|
getAgentInfoMap,
|
|
34
|
-
|
|
35
|
-
getCachePath,
|
|
33
|
+
getAnalyticsRevision,
|
|
36
34
|
getPricingGeneration,
|
|
37
35
|
getRegisteredAgents,
|
|
38
|
-
|
|
36
|
+
getSearchProjectDirectory,
|
|
39
37
|
getSessionActivityTime,
|
|
40
38
|
getSmartTagSourceTimestamp,
|
|
41
39
|
hasPendingPricing,
|
|
42
40
|
importBookmarks,
|
|
43
|
-
isAgentCacheInitialized,
|
|
44
|
-
isChildSession,
|
|
45
41
|
isProjectIdentityKind,
|
|
46
42
|
isWorkerLogMessage,
|
|
47
43
|
listBookmarks,
|
|
48
44
|
listCachedProjectGroups,
|
|
45
|
+
listDashboardCostFacts,
|
|
49
46
|
listFileActivity,
|
|
50
47
|
listModelCostDistribution,
|
|
51
48
|
listSessionAliases,
|
|
@@ -61,10 +58,12 @@ import {
|
|
|
61
58
|
materializeSessionDetailResponse,
|
|
62
59
|
mergeSearchQueryOptions,
|
|
63
60
|
mergeSortedSessions,
|
|
61
|
+
normalizeProjectDirectory,
|
|
64
62
|
perf,
|
|
65
63
|
publishPendingPricing,
|
|
66
64
|
readAgentCacheInitialization,
|
|
67
65
|
readAgentLastFullSyncAt,
|
|
66
|
+
readCachedSessions,
|
|
68
67
|
readPendingSearchIndexMaintenance,
|
|
69
68
|
refreshPricingCache,
|
|
70
69
|
registerAgent,
|
|
@@ -84,12 +83,13 @@ import {
|
|
|
84
83
|
synchronizeSessionSources,
|
|
85
84
|
upsertBookmark,
|
|
86
85
|
upsertSessionAlias
|
|
87
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-PSHZZITB.js";
|
|
88
87
|
export {
|
|
89
88
|
BaseAgent,
|
|
90
89
|
StateStorageUnavailableError as BookmarkStorageUnavailableError,
|
|
91
90
|
FileSystemSessionSource,
|
|
92
91
|
PRICING_CAPTURE_EPOCH,
|
|
92
|
+
PROJECT_IDENTITY_RESOLVER_REVISION,
|
|
93
93
|
SMART_TAG_CLASSIFIER_REVISION,
|
|
94
94
|
SessionAliasValidationError,
|
|
95
95
|
StateStorageUnavailableError,
|
|
@@ -103,14 +103,12 @@ export {
|
|
|
103
103
|
clearCache,
|
|
104
104
|
closeCacheStorage,
|
|
105
105
|
commitDurableSessionPublication,
|
|
106
|
-
|
|
106
|
+
computeIdentityProjection,
|
|
107
107
|
computeSessionDiff,
|
|
108
|
-
|
|
108
|
+
createProjectScopeMatcherFromIdentity,
|
|
109
109
|
createRegisteredAgents,
|
|
110
|
-
createSessionSourceFailure,
|
|
111
110
|
deleteBookmark,
|
|
112
111
|
deleteSessionAlias,
|
|
113
|
-
diffSessionSources,
|
|
114
112
|
ensurePrivateDirectory,
|
|
115
113
|
ensureSessionTagsSync,
|
|
116
114
|
executeSessionSearch,
|
|
@@ -118,21 +116,19 @@ export {
|
|
|
118
116
|
filterSessionTreeByActivityWindow,
|
|
119
117
|
getAgentFullSyncCursor,
|
|
120
118
|
getAgentInfoMap,
|
|
121
|
-
|
|
122
|
-
getCachePath,
|
|
119
|
+
getAnalyticsRevision,
|
|
123
120
|
getPricingGeneration,
|
|
124
121
|
getRegisteredAgents,
|
|
125
|
-
|
|
122
|
+
getSearchProjectDirectory,
|
|
126
123
|
getSessionActivityTime,
|
|
127
124
|
getSmartTagSourceTimestamp,
|
|
128
125
|
hasPendingPricing,
|
|
129
126
|
importBookmarks,
|
|
130
|
-
isAgentCacheInitialized,
|
|
131
|
-
isChildSession,
|
|
132
127
|
isProjectIdentityKind,
|
|
133
128
|
isWorkerLogMessage,
|
|
134
129
|
listBookmarks,
|
|
135
130
|
listCachedProjectGroups,
|
|
131
|
+
listDashboardCostFacts,
|
|
136
132
|
listFileActivity,
|
|
137
133
|
listModelCostDistribution,
|
|
138
134
|
listSessionAliases,
|
|
@@ -148,10 +144,12 @@ export {
|
|
|
148
144
|
materializeSessionDetailResponse,
|
|
149
145
|
mergeSearchQueryOptions,
|
|
150
146
|
mergeSortedSessions,
|
|
147
|
+
normalizeProjectDirectory,
|
|
151
148
|
perf,
|
|
152
149
|
publishPendingPricing,
|
|
153
150
|
readAgentCacheInitialization,
|
|
154
151
|
readAgentLastFullSyncAt,
|
|
152
|
+
readCachedSessions,
|
|
155
153
|
readPendingSearchIndexMaintenance,
|
|
156
154
|
refreshPricingCache,
|
|
157
155
|
registerAgent,
|
|
@@ -172,4 +170,4 @@ export {
|
|
|
172
170
|
upsertBookmark,
|
|
173
171
|
upsertSessionAlias
|
|
174
172
|
};
|
|
175
|
-
//# sourceMappingURL=dist-
|
|
173
|
+
//# sourceMappingURL=dist-RHDY2EZX.js.map
|