nolo-cli 0.262.0-alpha.1 → 0.264.0-alpha.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.
Files changed (56) hide show
  1. package/{_executeModel-KWURYHY6.js → _executeModel-YQNZNR2Y.js} +15 -15
  2. package/{agentDeleteCommand-2U5Q7SNW.js → agentDeleteCommand-MJF6BWP5.js} +12 -12
  3. package/{agentEmailCommands-4AWNMWBA.js → agentEmailCommands-KX3OQQAW.js} +13 -13
  4. package/{agentMachineCommands-EISFUXWT.js → agentMachineCommands-X5ZLRVTF.js} +1 -1
  5. package/{agentRecordCommands-HDLFE4ZJ.js → agentRecordCommands-KETL6CLV.js} +13 -13
  6. package/{agentRun-EXDLR6OV.js → agentRun-DSQD2VC5.js} +13 -13
  7. package/{agentRunCommand-5KXVUONI.js → agentRunCommand-COJOJSNF.js} +14 -14
  8. package/{agentSlice-ATJWWHSU.js → agentSlice-HHNKNNYM.js} +1 -1
  9. package/{chunk-6VQIFSWL.js → chunk-4RUQ2PFX.js} +4 -4
  10. package/{chunk-G2JNJRTO.js → chunk-6K4V4R2I.js} +5 -5
  11. package/{chunk-QUF3LDVD.js → chunk-7422ZLGL.js} +7 -7
  12. package/{chunk-TXLXASSY.js → chunk-7E6YXSFZ.js} +2 -2
  13. package/{chunk-4ZM3UL4E.js → chunk-CWOZIF6Z.js} +1 -1
  14. package/{chunk-NGGXRK2P.js → chunk-DBCWXGOC.js} +8 -8
  15. package/{chunk-4X6FTGMU.js → chunk-DBEOW57U.js} +2 -2
  16. package/{chunk-HCXCKCNT.js → chunk-EBH4RFJ6.js} +216 -33
  17. package/{chunk-J6Y6ZDS3.js → chunk-EN6WNK2M.js} +5 -5
  18. package/{chunk-LCCDDHAO.js → chunk-EODBQPRM.js} +2 -2
  19. package/{chunk-PRVXRSDG.js → chunk-HXEO5DNV.js} +2 -2
  20. package/chunk-JDMWYVUF.js +449 -0
  21. package/{chunk-NFE75Q5M.js → chunk-LYPJYBE5.js} +2 -2
  22. package/{chunk-UAO54ORL.js → chunk-MALPQFGT.js} +6 -6
  23. package/{chunk-NLADA5ZM.js → chunk-PDSXYHNI.js} +2 -2
  24. package/{chunk-7T54GD3I.js → chunk-QG2ALEDQ.js} +2 -2
  25. package/{chunk-RQKCLVCB.js → chunk-R5PN5DE2.js} +2 -2
  26. package/{chunk-HT6MY27X.js → chunk-TGVVE5BA.js} +177 -44
  27. package/{chunk-VLAPKV76.js → chunk-TKLBBR7P.js} +3 -3
  28. package/{chunk-NICEA4IW.js → chunk-U7OULUMF.js} +3 -3
  29. package/{chunk-23X7C23G.js → chunk-WLRDY5OG.js} +1 -1
  30. package/{chunk-WJ5IXN23.js → chunk-ZCMAKAZM.js} +1 -1
  31. package/{chunk-36RT7KMI.js → chunk-ZSZBHRLP.js} +4 -4
  32. package/{commandRegistry-I2WAEYSQ.js → commandRegistry-WOKBQU6B.js} +18 -18
  33. package/{contentThunks-W4OUEDRF.js → contentThunks-ERA42OXW.js} +4 -4
  34. package/{createAgentAutomationAction-VQBQDCAD.js → createAgentAutomationAction-DMD2VDPI.js} +4 -4
  35. package/{createDialogAction-YSZU5IE4.js → createDialogAction-3SPOJQAK.js} +5 -5
  36. package/{createPageAction-HLT7DUBR.js → createPageAction-AVXUMZVT.js} +5 -5
  37. package/{deleteDbKey-ZFWKDNAP.js → deleteDbKey-KV6MYBAI.js} +5 -5
  38. package/{dialogSlice-EOZLTLFB.js → dialogSlice-Q7H2YVNO.js} +2 -2
  39. package/{docStore-G5NLVWCF.js → docStore-GWPFDV6Y.js} +1 -1
  40. package/{handleSendMessageAction-6U3CWHQZ.js → handleSendMessageAction-FHGUFT2X.js} +9 -9
  41. package/{hostCredentialCreate-7Z7JIE57.js → hostCredentialCreate-T6SOV4FN.js} +13 -13
  42. package/index.js +3 -3
  43. package/{localAutomationCommands-P56DPCU7.js → localAutomationCommands-TJCH7ZSF.js} +1 -1
  44. package/{localAutomationRuntime-KPMMJZAU.js → localAutomationRuntime-RBAKV5LR.js} +1 -1
  45. package/{localRuntimeAdapter-724CCDG5.js → localRuntimeAdapter-KH6UHNAO.js} +12 -12
  46. package/{machineCommands-KLZ73HOC.js → machineCommands-F2Z4PV5E.js} +14 -14
  47. package/{machineWsRunDispatch-WFSV66WP.js → machineWsRunDispatch-YY2FJP2O.js} +13 -13
  48. package/{memberThunks-NSYL7QZA.js → memberThunks-NEZRAW5K.js} +34 -8
  49. package/package.json +1 -1
  50. package/{projectArchive-63LQ5IOO.js → projectArchive-WE3VVPZ2.js} +5 -5
  51. package/{readlineWorkspace-ECCRLGE5.js → readlineWorkspace-CJ5M7SU6.js} +17 -17
  52. package/{runAgentClientLoop-4644DF32.js → runAgentClientLoop-2SFASHDS.js} +13 -13
  53. package/{streamAgentChatTurn-EGRXP3Q6.js → streamAgentChatTurn-KOUWITHH.js} +15 -15
  54. package/{tools-X25IU3XJ.js → tools-WN4AVSNS.js} +10 -10
  55. package/{updateDialogTitleAction-5WP7TUDJ.js → updateDialogTitleAction-XOSLNRT3.js} +4 -4
  56. package/chunk-EHFDVQF5.js +0 -247
@@ -16,7 +16,7 @@ import {
16
16
  resolveTurnToolContext,
17
17
  validateAccessAndBalance,
18
18
  withRequestContextBlocks
19
- } from "./chunk-UAO54ORL.js";
19
+ } from "./chunk-MALPQFGT.js";
20
20
  import {
21
21
  resolveUserSkillRuntime
22
22
  } from "./chunk-TEFD5E2D.js";
@@ -31,13 +31,13 @@ import {
31
31
  sendOpenAICompletionsRequest,
32
32
  serializeAgentRunMessages,
33
33
  updateTotalUsage
34
- } from "./chunk-QUF3LDVD.js";
34
+ } from "./chunk-7422ZLGL.js";
35
35
  import "./chunk-JEXVIMYZ.js";
36
36
  import {
37
37
  inlineImageUrlsForCustomProvider,
38
38
  prepareTools,
39
39
  shouldInlineImageUrlsForAgent
40
- } from "./chunk-4X6FTGMU.js";
40
+ } from "./chunk-DBEOW57U.js";
41
41
  import {
42
42
  DirectApiKeyResolutionError,
43
43
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -49,45 +49,45 @@ import {
49
49
  sanitizeOutboundResponsesInput,
50
50
  selectResponsesConversationState,
51
51
  updateResponsesConversationState
52
- } from "./chunk-NLADA5ZM.js";
52
+ } from "./chunk-PDSXYHNI.js";
53
53
  import "./chunk-56OAS5RZ.js";
54
54
  import {
55
55
  isWebMcpTurnAllowed,
56
56
  resolveWebTurnMcpInjection,
57
57
  stripMcpWebTools
58
- } from "./chunk-HCXCKCNT.js";
58
+ } from "./chunk-EBH4RFJ6.js";
59
59
  import "./chunk-ZJACPM5O.js";
60
60
  import "./chunk-NHLLXINQ.js";
61
61
  import "./chunk-MVOZ22RZ.js";
62
- import "./chunk-6VQIFSWL.js";
62
+ import "./chunk-4RUQ2PFX.js";
63
63
  import "./chunk-WDWZPASX.js";
64
- import "./chunk-WJ5IXN23.js";
64
+ import "./chunk-ZCMAKAZM.js";
65
65
  import {
66
66
  performServerProxyFetchWithRetry
67
- } from "./chunk-NFE75Q5M.js";
67
+ } from "./chunk-LYPJYBE5.js";
68
68
  import {
69
69
  clearGateTurn,
70
70
  createSSEParser,
71
71
  pushGate,
72
72
  targetForRunKind,
73
73
  waitForAbortableDelay
74
- } from "./chunk-36RT7KMI.js";
74
+ } from "./chunk-ZSZBHRLP.js";
75
75
  import "./chunk-NF64D32W.js";
76
76
  import {
77
77
  getUserPreferencesStore
78
78
  } from "./chunk-P62DHV4F.js";
79
- import "./chunk-TXLXASSY.js";
79
+ import "./chunk-7E6YXSFZ.js";
80
80
  import "./chunk-NTUNHTJV.js";
81
81
  import "./chunk-RIRFHJTW.js";
82
82
  import "./chunk-WX266G2C.js";
83
83
  import "./chunk-63W5N6P3.js";
84
84
  import "./chunk-AGIM7IMJ.js";
85
85
  import "./chunk-VF4K2QE6.js";
86
- import "./chunk-PRVXRSDG.js";
87
- import "./chunk-HT6MY27X.js";
86
+ import "./chunk-HXEO5DNV.js";
87
+ import "./chunk-TGVVE5BA.js";
88
88
  import {
89
89
  getCurrentSpaceId
90
- } from "./chunk-EHFDVQF5.js";
90
+ } from "./chunk-JDMWYVUF.js";
91
91
  import {
92
92
  addToolMessage,
93
93
  addUserMessage,
@@ -110,12 +110,12 @@ import {
110
110
  updateDialogSummaryAction,
111
111
  updateTokens,
112
112
  updateToolMessage
113
- } from "./chunk-NGGXRK2P.js";
113
+ } from "./chunk-DBCWXGOC.js";
114
114
  import "./chunk-KDDXC2IH.js";
115
115
  import "./chunk-TZXPT53C.js";
116
116
  import "./chunk-6QDYSCPW.js";
117
117
  import "./chunk-FGXG6OLW.js";
118
- import "./chunk-VLAPKV76.js";
118
+ import "./chunk-TKLBBR7P.js";
119
119
  import "./chunk-IB5AR52X.js";
120
120
  import "./chunk-BYXBJQAS.js";
121
121
  import "./chunk-KZO2MTVM.js";
@@ -8,32 +8,32 @@ import {
8
8
  toolQueryFunc,
9
9
  toolQueryFunctionSchema,
10
10
  toolRegistry
11
- } from "./chunk-HCXCKCNT.js";
11
+ } from "./chunk-EBH4RFJ6.js";
12
12
  import "./chunk-ZJACPM5O.js";
13
13
  import "./chunk-NHLLXINQ.js";
14
14
  import "./chunk-MVOZ22RZ.js";
15
- import "./chunk-6VQIFSWL.js";
15
+ import "./chunk-4RUQ2PFX.js";
16
16
  import "./chunk-WDWZPASX.js";
17
- import "./chunk-WJ5IXN23.js";
18
- import "./chunk-36RT7KMI.js";
17
+ import "./chunk-ZCMAKAZM.js";
18
+ import "./chunk-ZSZBHRLP.js";
19
19
  import "./chunk-NF64D32W.js";
20
20
  import "./chunk-P62DHV4F.js";
21
- import "./chunk-TXLXASSY.js";
21
+ import "./chunk-7E6YXSFZ.js";
22
22
  import "./chunk-NTUNHTJV.js";
23
23
  import "./chunk-RIRFHJTW.js";
24
24
  import "./chunk-WX266G2C.js";
25
25
  import "./chunk-63W5N6P3.js";
26
26
  import "./chunk-AGIM7IMJ.js";
27
27
  import "./chunk-VF4K2QE6.js";
28
- import "./chunk-PRVXRSDG.js";
29
- import "./chunk-HT6MY27X.js";
30
- import "./chunk-EHFDVQF5.js";
31
- import "./chunk-NGGXRK2P.js";
28
+ import "./chunk-HXEO5DNV.js";
29
+ import "./chunk-TGVVE5BA.js";
30
+ import "./chunk-JDMWYVUF.js";
31
+ import "./chunk-DBCWXGOC.js";
32
32
  import "./chunk-KDDXC2IH.js";
33
33
  import "./chunk-TZXPT53C.js";
34
34
  import "./chunk-6QDYSCPW.js";
35
35
  import "./chunk-FGXG6OLW.js";
36
- import "./chunk-VLAPKV76.js";
36
+ import "./chunk-TKLBBR7P.js";
37
37
  import "./chunk-IB5AR52X.js";
38
38
  import "./chunk-BYXBJQAS.js";
39
39
  import "./chunk-KZO2MTVM.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  updateContentTitle
3
- } from "./chunk-HT6MY27X.js";
4
- import "./chunk-EHFDVQF5.js";
3
+ } from "./chunk-TGVVE5BA.js";
4
+ import "./chunk-JDMWYVUF.js";
5
5
  import {
6
6
  isAssistantToolStub,
7
7
  selectAllMsgs
8
- } from "./chunk-NGGXRK2P.js";
8
+ } from "./chunk-DBCWXGOC.js";
9
9
  import "./chunk-KDDXC2IH.js";
10
10
  import "./chunk-TZXPT53C.js";
11
11
  import "./chunk-6QDYSCPW.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-FGXG6OLW.js";
16
16
  import {
17
17
  runLlm
18
- } from "./chunk-VLAPKV76.js";
18
+ } from "./chunk-TKLBBR7P.js";
19
19
  import "./chunk-IB5AR52X.js";
20
20
  import "./chunk-BYXBJQAS.js";
21
21
  import "./chunk-KZO2MTVM.js";
package/chunk-EHFDVQF5.js DELETED
@@ -1,247 +0,0 @@
1
- import {
2
- normalizeSpaceId
3
- } from "./chunk-UAD2WT54.js";
4
- import {
5
- toTimestampMs
6
- } from "./chunk-6NYQHXMV.js";
7
- import {
8
- require_react
9
- } from "./chunk-HI5RS2O4.js";
10
- import {
11
- __toESM
12
- } from "./chunk-U67V476Y.js";
13
-
14
- // packages/create/space/spaceCurrentStore.ts
15
- var import_react = __toESM(require_react(), 1);
16
- var VIEW_MODE_STORAGE_KEY = "nolo-space-view-mode";
17
- var readStoredViewMode = () => {
18
- try {
19
- if (typeof window === "undefined") return "all";
20
- return window.localStorage.getItem(VIEW_MODE_STORAGE_KEY) === "categories" ? "categories" : "all";
21
- } catch {
22
- return "all";
23
- }
24
- };
25
- var writeStoredViewMode = (mode) => {
26
- try {
27
- if (typeof window === "undefined") return;
28
- window.localStorage.setItem(VIEW_MODE_STORAGE_KEY, mode);
29
- } catch {
30
- }
31
- };
32
- var createInitialState = () => ({
33
- currentSpaceId: null,
34
- currentSpace: null,
35
- viewMode: readStoredViewMode()
36
- });
37
- var state = createInitialState();
38
- var listeners = /* @__PURE__ */ new Set();
39
- var version = 0;
40
- var notify = () => {
41
- version += 1;
42
- for (const listener of listeners) {
43
- try {
44
- listener();
45
- } catch {
46
- }
47
- }
48
- };
49
- function getCurrentSpaceId() {
50
- return state.viewMode === "all" ? null : state.currentSpaceId;
51
- }
52
- function getCurrentSpaceIdRaw() {
53
- return state.currentSpaceId;
54
- }
55
- function getCurrentSpaceRaw() {
56
- return state.currentSpace;
57
- }
58
- function getViewMode() {
59
- return state.viewMode;
60
- }
61
- function setViewMode(mode) {
62
- if (state.viewMode === mode) return;
63
- state = { ...state, viewMode: mode };
64
- writeStoredViewMode(mode);
65
- notify();
66
- }
67
- function setCurrentSpace(space) {
68
- state = { ...state, currentSpace: space };
69
- notify();
70
- }
71
- function setCurrentSpaceBoth(spaceId, space) {
72
- state = { ...state, currentSpaceId: spaceId, currentSpace: space };
73
- notify();
74
- }
75
- function updateCurrentSpaceIfMatch(spaceId, space) {
76
- const currentId = state.currentSpaceId;
77
- if (currentId && normalizeSpaceId(currentId) === normalizeSpaceId(spaceId)) {
78
- state = { ...state, currentSpace: space };
79
- notify();
80
- }
81
- }
82
-
83
- // packages/create/space/member/membershipRequestGeneration.ts
84
- var membershipRequestSeq = 0;
85
- function beginMembershipRequest() {
86
- membershipRequestSeq += 1;
87
- return membershipRequestSeq;
88
- }
89
- function getLatestMembershipRequestId() {
90
- return membershipRequestSeq;
91
- }
92
-
93
- // packages/create/space/spaceMembershipStore.ts
94
- var import_react2 = __toESM(require_react(), 1);
95
- var createInitialState2 = () => ({
96
- memberSpaces: null,
97
- loading: false,
98
- membershipStatus: "idle",
99
- initialized: false
100
- });
101
- var state2 = createInitialState2();
102
- var listeners2 = /* @__PURE__ */ new Set();
103
- var version2 = 0;
104
- var notify2 = () => {
105
- version2 += 1;
106
- for (const listener of listeners2) {
107
- try {
108
- listener();
109
- } catch {
110
- }
111
- }
112
- };
113
- var getMembershipUpdatedAt = (space) => {
114
- if (!space) return 0;
115
- return toTimestampMs(
116
- space.spaceUpdatedAt ?? space.memberUpdatedAt ?? space.updatedAt ?? space.createdAt ?? space.joinedAt
117
- );
118
- };
119
- function dedupeMemberSpacesById(memberSpaces) {
120
- const membershipMap = /* @__PURE__ */ new Map();
121
- memberSpaces.forEach((space) => {
122
- const prev = membershipMap.get(space.spaceId);
123
- if (!prev || getMembershipUpdatedAt(space) >= getMembershipUpdatedAt(prev)) {
124
- membershipMap.set(space.spaceId, space);
125
- }
126
- });
127
- return Array.from(membershipMap.values());
128
- }
129
- function getAllMemberSpaces() {
130
- const memberSpaces = dedupeMemberSpacesById(state2.memberSpaces || []);
131
- return [...memberSpaces].sort((a, b) => {
132
- return getMembershipUpdatedAt(b) - getMembershipUpdatedAt(a);
133
- });
134
- }
135
- function setMemberSpaces(spaces) {
136
- state2 = {
137
- ...state2,
138
- memberSpaces: spaces,
139
- loading: false,
140
- error: void 0,
141
- membershipStatus: "fresh",
142
- initialized: true
143
- };
144
- notify2();
145
- }
146
- function setMembershipLoading() {
147
- state2 = { ...state2, loading: true, membershipStatus: "loading" };
148
- notify2();
149
- }
150
- function setMembershipRejected(errorMessage, isRemoteUnavailable) {
151
- const membershipStatus = isRemoteUnavailable ? "offline" : state2.membershipStatus === "loading" ? "idle" : state2.membershipStatus;
152
- state2 = {
153
- ...state2,
154
- loading: false,
155
- error: errorMessage,
156
- membershipStatus
157
- };
158
- notify2();
159
- }
160
- function setMembershipDiscarded() {
161
- state2 = {
162
- ...state2,
163
- loading: false,
164
- membershipStatus: state2.membershipStatus === "loading" ? "idle" : state2.membershipStatus
165
- };
166
- notify2();
167
- }
168
- function appendRecoveredMemberships(recovered) {
169
- if (!recovered || recovered.length === 0) return;
170
- if (state2.memberSpaces === null) {
171
- state2 = {
172
- ...state2,
173
- memberSpaces: dedupeMemberSpacesById(recovered)
174
- };
175
- notify2();
176
- return;
177
- }
178
- state2 = {
179
- ...state2,
180
- memberSpaces: dedupeMemberSpacesById([
181
- ...state2.memberSpaces,
182
- ...recovered
183
- ]).sort((a, b) => toTimestampMs(b.joinedAt) - toTimestampMs(a.joinedAt))
184
- };
185
- notify2();
186
- }
187
- function setSpaceInitialized() {
188
- state2 = { ...state2, initialized: true };
189
- notify2();
190
- }
191
- function setMembershipLoaded() {
192
- state2 = { ...state2, loading: false, error: void 0 };
193
- notify2();
194
- }
195
- function addMemberSpace(space) {
196
- const existing = state2.memberSpaces || [];
197
- state2 = {
198
- ...state2,
199
- memberSpaces: dedupeMemberSpacesById([...existing, space])
200
- };
201
- notify2();
202
- }
203
- function removeMemberSpace(spaceId) {
204
- if (!state2.memberSpaces) return;
205
- const normalized = normalizeSpaceId(spaceId);
206
- state2 = {
207
- ...state2,
208
- memberSpaces: state2.memberSpaces.filter(
209
- (s) => normalizeSpaceId(s.spaceId) !== normalized
210
- )
211
- };
212
- notify2();
213
- }
214
- function updateMemberSpaceName(spaceId, name) {
215
- if (!state2.memberSpaces || !name) return;
216
- state2 = {
217
- ...state2,
218
- memberSpaces: state2.memberSpaces.map(
219
- (space) => space.spaceId === spaceId ? { ...space, spaceName: name } : space
220
- )
221
- };
222
- notify2();
223
- }
224
-
225
- export {
226
- getCurrentSpaceId,
227
- getCurrentSpaceIdRaw,
228
- getCurrentSpaceRaw,
229
- getViewMode,
230
- setViewMode,
231
- setCurrentSpace,
232
- setCurrentSpaceBoth,
233
- updateCurrentSpaceIfMatch,
234
- beginMembershipRequest,
235
- getLatestMembershipRequestId,
236
- getAllMemberSpaces,
237
- setMemberSpaces,
238
- setMembershipLoading,
239
- setMembershipRejected,
240
- setMembershipDiscarded,
241
- appendRecoveredMemberships,
242
- setSpaceInitialized,
243
- setMembershipLoaded,
244
- addMemberSpace,
245
- removeMemberSpace,
246
- updateMemberSpaceName
247
- };