lalph 0.3.99 → 0.3.101
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.mjs +139 -26
- package/package.json +2 -2
- package/src/IssueSource.ts +1 -0
package/dist/cli.mjs
CHANGED
|
@@ -9047,6 +9047,18 @@ const ignore$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, opti
|
|
|
9047
9047
|
});
|
|
9048
9048
|
});
|
|
9049
9049
|
/** @internal */
|
|
9050
|
+
const ignoreCause$1 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, options) => {
|
|
9051
|
+
if (!options?.log) return matchCauseEffect$1(self, {
|
|
9052
|
+
onFailure: (_) => void_$4,
|
|
9053
|
+
onSuccess: (_) => void_$4
|
|
9054
|
+
});
|
|
9055
|
+
const logEffect = logWithLevel$1(options.log === true ? void 0 : options.log);
|
|
9056
|
+
return matchCauseEffect$1(self, {
|
|
9057
|
+
onFailure: (cause) => options.message === void 0 ? logEffect(cause) : logEffect(options.message, cause),
|
|
9058
|
+
onSuccess: (_) => void_$4
|
|
9059
|
+
});
|
|
9060
|
+
});
|
|
9061
|
+
/** @internal */
|
|
9050
9062
|
const option$2 = (self) => match$6(self, {
|
|
9051
9063
|
onFailure: none$4,
|
|
9052
9064
|
onSuccess: some$2
|
|
@@ -15670,6 +15682,26 @@ const retry$1 = retry$2;
|
|
|
15670
15682
|
*/
|
|
15671
15683
|
const ignore$1 = ignore$2;
|
|
15672
15684
|
/**
|
|
15685
|
+
* Ignores the effect's failure cause, including defects and interruptions.
|
|
15686
|
+
*
|
|
15687
|
+
* Use the `log` option to emit the full {@link Cause} when the effect fails,
|
|
15688
|
+
* and `message` to prepend a custom log message.
|
|
15689
|
+
*
|
|
15690
|
+
* @example
|
|
15691
|
+
* ```ts
|
|
15692
|
+
* import { Effect } from "effect"
|
|
15693
|
+
*
|
|
15694
|
+
* const task = Effect.fail("boom")
|
|
15695
|
+
*
|
|
15696
|
+
* const program = task.pipe(Effect.ignoreCause)
|
|
15697
|
+
* const programLog = task.pipe(Effect.ignoreCause({ log: true, message: "Ignoring failure cause" }))
|
|
15698
|
+
* ```
|
|
15699
|
+
*
|
|
15700
|
+
* @since 4.0.0
|
|
15701
|
+
* @category Error Handling
|
|
15702
|
+
*/
|
|
15703
|
+
const ignoreCause = ignoreCause$1;
|
|
15704
|
+
/**
|
|
15673
15705
|
* Replaces the original failure with a success value, ensuring the effect
|
|
15674
15706
|
* cannot fail.
|
|
15675
15707
|
*
|
|
@@ -36103,6 +36135,33 @@ function TaggedUnion(casesByTag) {
|
|
|
36103
36135
|
});
|
|
36104
36136
|
}
|
|
36105
36137
|
/**
|
|
36138
|
+
* Wraps a schema so that its decoded `Type` becomes a nominally distinct type `Self`.
|
|
36139
|
+
* Useful for creating opaque types that are structurally identical to a base schema
|
|
36140
|
+
* but type-incompatible with it.
|
|
36141
|
+
*
|
|
36142
|
+
* **Example** (Opaque user ID)
|
|
36143
|
+
*
|
|
36144
|
+
* ```ts
|
|
36145
|
+
* import { Schema } from "effect"
|
|
36146
|
+
*
|
|
36147
|
+
* type UserId = string & { readonly _tag: "UserId" }
|
|
36148
|
+
* const UserId = Schema.Opaque<UserId>()(Schema.String)
|
|
36149
|
+
*
|
|
36150
|
+
* // Decoded value is UserId, not plain string
|
|
36151
|
+
* const id = Schema.decodeUnknownSync(UserId)("abc")
|
|
36152
|
+
* // id: UserId
|
|
36153
|
+
* ```
|
|
36154
|
+
*
|
|
36155
|
+
* @since 4.0.0
|
|
36156
|
+
*/
|
|
36157
|
+
function Opaque() {
|
|
36158
|
+
return (schema) => {
|
|
36159
|
+
class Opaque {}
|
|
36160
|
+
Object.setPrototypeOf(Opaque, schema);
|
|
36161
|
+
return Opaque;
|
|
36162
|
+
};
|
|
36163
|
+
}
|
|
36164
|
+
/**
|
|
36106
36165
|
* Creates a schema that validates values using `instanceof`.
|
|
36107
36166
|
* Decoding and encoding pass the value through unchanged.
|
|
36108
36167
|
*
|
|
@@ -178236,7 +178295,7 @@ var IssueSource = class IssueSource extends Service$1()("lalph/IssueSource") {
|
|
|
178236
178295
|
const refs = yield* make$48({
|
|
178237
178296
|
lookup: fnUntraced(function* (projectId) {
|
|
178238
178297
|
const ref = yield* make$47(IssuesChange.Internal({ issues: yield* pipe$1(impl.issues(projectId), orElseSucceed(empty$17)) }));
|
|
178239
|
-
yield* changes(ref).pipe(switchMap((_) => impl.issues(projectId).pipe(tap$1((issues) => set$3(ref, IssuesChange.External({ issues }))), delay(seconds(30)), fromEffectDrain)), runDrain, forkScoped);
|
|
178298
|
+
yield* changes(ref).pipe(switchMap((_) => impl.issues(projectId).pipe(tap$1((issues) => set$3(ref, IssuesChange.External({ issues }))), ignoreCause, delay(seconds(30)), fromEffectDrain)), runDrain, forkScoped);
|
|
178240
178299
|
return ref;
|
|
178241
178300
|
}),
|
|
178242
178301
|
capacity: Number.MAX_SAFE_INTEGER
|
|
@@ -181585,7 +181644,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
|
|
|
181585
181644
|
});
|
|
181586
181645
|
Ze.glob = Ze;
|
|
181587
181646
|
//#endregion
|
|
181588
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
181647
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/ApplyPatch.js
|
|
181589
181648
|
/**
|
|
181590
181649
|
* @since 1.0.0
|
|
181591
181650
|
*/
|
|
@@ -196458,7 +196517,7 @@ var StreamableHTTPClientTransport = class {
|
|
|
196458
196517
|
}
|
|
196459
196518
|
};
|
|
196460
196519
|
//#endregion
|
|
196461
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
196520
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/McpClient.js
|
|
196462
196521
|
/**
|
|
196463
196522
|
* @since 1.0.0
|
|
196464
196523
|
*/
|
|
@@ -196503,7 +196562,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
|
|
|
196503
196562
|
});
|
|
196504
196563
|
}));
|
|
196505
196564
|
//#endregion
|
|
196506
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
196565
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/ExaSearch.js
|
|
196507
196566
|
/**
|
|
196508
196567
|
* @since 1.0.0
|
|
196509
196568
|
*/
|
|
@@ -211453,7 +211512,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
211453
211512
|
exports.impl = impl;
|
|
211454
211513
|
}));
|
|
211455
211514
|
//#endregion
|
|
211456
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
211515
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/WebToMarkdown.js
|
|
211457
211516
|
/**
|
|
211458
211517
|
* @since 1.0.0
|
|
211459
211518
|
*/
|
|
@@ -214592,7 +214651,7 @@ function isEmptyParamsRecord(indexSignature) {
|
|
|
214592
214651
|
return indexSignature.parameter === string$3 && isNever(indexSignature.type);
|
|
214593
214652
|
}
|
|
214594
214653
|
//#endregion
|
|
214595
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
214654
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/SemanticSearch/Service.js
|
|
214596
214655
|
/**
|
|
214597
214656
|
* @since 1.0.0
|
|
214598
214657
|
*/
|
|
@@ -214618,7 +214677,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$4(m
|
|
|
214618
214677
|
onSome: (service) => service.removeFile(path)
|
|
214619
214678
|
})));
|
|
214620
214679
|
//#endregion
|
|
214621
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
214680
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/AgentTools.js
|
|
214622
214681
|
/**
|
|
214623
214682
|
* @since 1.0.0
|
|
214624
214683
|
*/
|
|
@@ -214637,6 +214696,11 @@ var TaskCompleter = class extends Service$1()("clanka/AgentTools/TaskCompleter")
|
|
|
214637
214696
|
* @category Context
|
|
214638
214697
|
*/
|
|
214639
214698
|
var SubagentExecutor = class extends Service$1()("clanka/AgentTools/SubagentExecutor") {};
|
|
214699
|
+
var TodoItem = class extends Opaque()(Struct$2({
|
|
214700
|
+
id: Number$1,
|
|
214701
|
+
text: String$1,
|
|
214702
|
+
completed: Boolean$2
|
|
214703
|
+
})) {};
|
|
214640
214704
|
/**
|
|
214641
214705
|
* @since 1.0.0
|
|
214642
214706
|
* @category Toolkit
|
|
@@ -214675,6 +214739,23 @@ const AgentTools = make$14(make$13("readFile", {
|
|
|
214675
214739
|
parameters: Array$1(String$1).annotate({ identifier: "args" }),
|
|
214676
214740
|
success: String$1,
|
|
214677
214741
|
dependencies: [CurrentDirectory]
|
|
214742
|
+
}), make$13("listTodos", {
|
|
214743
|
+
description: "Read your todo list",
|
|
214744
|
+
parameters: Void,
|
|
214745
|
+
success: Array$1(TodoItem)
|
|
214746
|
+
}), make$13("addTodo", {
|
|
214747
|
+
description: "Add an item to your todo list",
|
|
214748
|
+
parameters: String$1.annotate({ identifier: "text" })
|
|
214749
|
+
}), make$13("updateTodo", {
|
|
214750
|
+
description: "Update an item in your todo list",
|
|
214751
|
+
parameters: Struct$2({
|
|
214752
|
+
id: Number$1,
|
|
214753
|
+
text: optional$3(String$1),
|
|
214754
|
+
completed: optional$3(Boolean$2)
|
|
214755
|
+
})
|
|
214756
|
+
}), make$13("clearTodos", {
|
|
214757
|
+
description: "Clear all items in your todo list",
|
|
214758
|
+
parameters: Void
|
|
214678
214759
|
}), make$13("bash", {
|
|
214679
214760
|
description: "Run a bash command and return the output",
|
|
214680
214761
|
parameters: Struct$2({
|
|
@@ -214747,6 +214828,8 @@ const AgentToolHandlersNoDeps = AgentToolsWithSearch.toLayer(gen(function* () {
|
|
|
214747
214828
|
const pathService = yield* Path$1;
|
|
214748
214829
|
const webSearch = yield* ExaSearch;
|
|
214749
214830
|
const fetchMarkdown = yield* WebToMarkdown;
|
|
214831
|
+
const todoMap = /* @__PURE__ */ new Map();
|
|
214832
|
+
let todoIdCounter = 0;
|
|
214750
214833
|
const execute = fn(function* (command) {
|
|
214751
214834
|
const handle = yield* spawner.spawn(command);
|
|
214752
214835
|
return yield* handle.all.pipe(decodeText, mkString, flatMap$4(fnUntraced(function* (output) {
|
|
@@ -214828,6 +214911,34 @@ const AgentToolHandlersNoDeps = AgentToolsWithSearch.toLayer(gen(function* () {
|
|
|
214828
214911
|
const cwd = yield* CurrentDirectory;
|
|
214829
214912
|
return yield* promise(() => Ze(pattern, { cwd }));
|
|
214830
214913
|
}),
|
|
214914
|
+
listTodos: fn("AgentTools.listTodos")(function* () {
|
|
214915
|
+
yield* logInfo(`Calling "listTodos"`);
|
|
214916
|
+
return fromIterable$5(todoMap.values());
|
|
214917
|
+
}),
|
|
214918
|
+
addTodo: fn("AgentTools.addTodo")(function* (text) {
|
|
214919
|
+
yield* logInfo(`Calling "addTodo"`).pipe(annotateLogs({ text }));
|
|
214920
|
+
const id = ++todoIdCounter;
|
|
214921
|
+
const item = {
|
|
214922
|
+
id,
|
|
214923
|
+
text,
|
|
214924
|
+
completed: false
|
|
214925
|
+
};
|
|
214926
|
+
todoMap.set(id, item);
|
|
214927
|
+
}),
|
|
214928
|
+
updateTodo: fn("AgentTools.updateTodo")(function* (options) {
|
|
214929
|
+
yield* logInfo(`Calling "updateTodo"`).pipe(annotateLogs(options));
|
|
214930
|
+
const item = todoMap.get(options.id);
|
|
214931
|
+
if (item === void 0) return yield* die$2(`Todo item ${options.id} not found`);
|
|
214932
|
+
todoMap.set(item.id, {
|
|
214933
|
+
...item,
|
|
214934
|
+
text: options.text ?? item.text,
|
|
214935
|
+
completed: options.completed ?? item.completed
|
|
214936
|
+
});
|
|
214937
|
+
}),
|
|
214938
|
+
clearTodos: fn("AgentTools.clearTodos")(function* () {
|
|
214939
|
+
yield* logInfo(`Calling "clearTodos"`);
|
|
214940
|
+
todoMap.clear();
|
|
214941
|
+
}),
|
|
214831
214942
|
bash: fn("AgentTools.bash")(function* (options) {
|
|
214832
214943
|
const timeoutMs = Math.min(options.timeoutMs ?? 12e4, 24e4);
|
|
214833
214944
|
yield* logInfo(`Calling "bash"`).pipe(annotateLogs({
|
|
@@ -214969,7 +215080,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
|
|
|
214969
215080
|
AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
|
|
214970
215081
|
var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
|
|
214971
215082
|
//#endregion
|
|
214972
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215083
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/TypeBuilder.js
|
|
214973
215084
|
const resolveDocumentation = resolveAt("documentation");
|
|
214974
215085
|
const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
|
|
214975
215086
|
const Precedence = {
|
|
@@ -215242,7 +215353,7 @@ const render = (schema, options) => {
|
|
|
215242
215353
|
return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
|
|
215243
215354
|
};
|
|
215244
215355
|
//#endregion
|
|
215245
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215356
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/ToolkitRenderer.js
|
|
215246
215357
|
/**
|
|
215247
215358
|
* @since 1.0.0
|
|
215248
215359
|
*/
|
|
@@ -215264,7 +215375,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
|
|
|
215264
215375
|
}) });
|
|
215265
215376
|
};
|
|
215266
215377
|
//#endregion
|
|
215267
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215378
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/ScriptPreprocessing.js
|
|
215268
215379
|
const callTemplateTargets = ["applyPatch", "taskComplete"];
|
|
215269
215380
|
const objectPropertyTargets = [{
|
|
215270
215381
|
functionName: "writeFile",
|
|
@@ -215743,7 +215854,7 @@ const rewriteAssignedTargets = (script) => {
|
|
|
215743
215854
|
};
|
|
215744
215855
|
const preprocessScript = (script) => rewriteAssignedTargets(rewriteDirectTemplates(script));
|
|
215745
215856
|
//#endregion
|
|
215746
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
215857
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/AgentExecutor.js
|
|
215747
215858
|
/**
|
|
215748
215859
|
* @since 1.0.0
|
|
215749
215860
|
*/
|
|
@@ -215928,7 +216039,7 @@ var QueueWriteStream = class extends Writable {
|
|
|
215928
216039
|
}
|
|
215929
216040
|
};
|
|
215930
216041
|
//#endregion
|
|
215931
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
216042
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/ScriptExtraction.js
|
|
215932
216043
|
const stripWrappingCodeFence = (script) => {
|
|
215933
216044
|
const lines = script.split(/\r?\n/);
|
|
215934
216045
|
if (lines.length < 2) return script;
|
|
@@ -217477,7 +217588,7 @@ const applySpanTransformer = (transformer, response, options) => {
|
|
|
217477
217588
|
});
|
|
217478
217589
|
};
|
|
217479
217590
|
//#endregion
|
|
217480
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
217591
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/Agent.js
|
|
217481
217592
|
/**
|
|
217482
217593
|
* @since 1.0.0
|
|
217483
217594
|
*/
|
|
@@ -217513,7 +217624,7 @@ ${content}
|
|
|
217513
217624
|
let agentCounter = 0;
|
|
217514
217625
|
const outputBuffer = /* @__PURE__ */ new Map();
|
|
217515
217626
|
let currentOutputAgent = null;
|
|
217516
|
-
|
|
217627
|
+
const history = make$77(empty);
|
|
217517
217628
|
const spawn = fnUntraced(function* (opts) {
|
|
217518
217629
|
const agentId = opts.agentId;
|
|
217519
217630
|
const ai = yield* LanguageModel;
|
|
@@ -217738,6 +217849,7 @@ ${content}
|
|
|
217738
217849
|
const sendLock = makeUnsafe$9(1);
|
|
217739
217850
|
return Agent.of({
|
|
217740
217851
|
[TypeId$3]: TypeId$3,
|
|
217852
|
+
history,
|
|
217741
217853
|
send: (options) => spawn({
|
|
217742
217854
|
agentId: agentCounter++,
|
|
217743
217855
|
prompt: make$12(options.prompt),
|
|
@@ -217776,7 +217888,8 @@ const generateSystemTools = (capabilities, conversationMode) => `**YOU ONLY HAVE
|
|
|
217776
217888
|
- You can add / update / remove multiple files in one go with "applyPatch".
|
|
217777
217889
|
- AVOID passing scripts into the "bash" function, and instead write javascript.
|
|
217778
217890
|
- **Variables are not shared** between executions, so you must include all necessary code in each script you execute.
|
|
217779
|
-
- DO NOT use \`require\`, \`import\`, \`process\`, or any other node.js apis
|
|
217891
|
+
- DO NOT use \`require\`, \`import\`, \`process\`, or any other node.js apis.
|
|
217892
|
+
- Make use of the todo functions to keep track of your progress.${conversationMode ? "" : `
|
|
217780
217893
|
|
|
217781
217894
|
When you have fully completed your task, call the "taskComplete" function with the final output.
|
|
217782
217895
|
DO NOT output the final result without wrapping it with "taskComplete".
|
|
@@ -228982,7 +229095,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
|
|
|
228982
229095
|
})));
|
|
228983
229096
|
});
|
|
228984
229097
|
//#endregion
|
|
228985
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
229098
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/CodexAuth.js
|
|
228986
229099
|
/**
|
|
228987
229100
|
* @since 1.0.0
|
|
228988
229101
|
*/
|
|
@@ -229202,7 +229315,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
|
|
|
229202
229315
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
|
|
229203
229316
|
};
|
|
229204
229317
|
//#endregion
|
|
229205
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
229318
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/Codex.js
|
|
229206
229319
|
/**
|
|
229207
229320
|
* @since 1.0.0
|
|
229208
229321
|
*/
|
|
@@ -229228,7 +229341,7 @@ const layerModel = (model, options) => layer$7({
|
|
|
229228
229341
|
}
|
|
229229
229342
|
}).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
|
|
229230
229343
|
//#endregion
|
|
229231
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
229344
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/CodeChunker.js
|
|
229232
229345
|
/**
|
|
229233
229346
|
* @since 1.0.0
|
|
229234
229347
|
*/
|
|
@@ -230988,7 +231101,7 @@ const getUsageDetailNumber = (details, field) => {
|
|
|
230988
231101
|
return typeof value === "number" ? value : void 0;
|
|
230989
231102
|
};
|
|
230990
231103
|
//#endregion
|
|
230991
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231104
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/CopilotAuth.js
|
|
230992
231105
|
/**
|
|
230993
231106
|
* @since 1.0.0
|
|
230994
231107
|
*/
|
|
@@ -231179,7 +231292,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
|
|
|
231179
231292
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
|
|
231180
231293
|
};
|
|
231181
231294
|
//#endregion
|
|
231182
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231295
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/Copilot.js
|
|
231183
231296
|
/**
|
|
231184
231297
|
* @since 1.0.0
|
|
231185
231298
|
*/
|
|
@@ -231599,7 +231712,7 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
231599
231712
|
const chalk = createChalk();
|
|
231600
231713
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
231601
231714
|
//#endregion
|
|
231602
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
231715
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/OutputFormatter.js
|
|
231603
231716
|
/**
|
|
231604
231717
|
* @since 1.0.0
|
|
231605
231718
|
*/
|
|
@@ -232085,7 +232198,7 @@ select * from ${sql(options.tableName)} where ${sql(idColumn)} = LAST_INSERT_ID(
|
|
|
232085
232198
|
};
|
|
232086
232199
|
});
|
|
232087
232200
|
//#endregion
|
|
232088
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232201
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/ChunkRepo.js
|
|
232089
232202
|
/**
|
|
232090
232203
|
* @since 1.0.0
|
|
232091
232204
|
* @category Models
|
|
@@ -232365,7 +232478,7 @@ const run$1 = /* @__PURE__ */ make$25({});
|
|
|
232365
232478
|
*/
|
|
232366
232479
|
const layer$1 = (options) => effectDiscard(run$1(options));
|
|
232367
232480
|
//#endregion
|
|
232368
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232481
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/internal/sqlite-vector.js
|
|
232369
232482
|
/**
|
|
232370
232483
|
* Binary extension for each platform
|
|
232371
232484
|
*/
|
|
@@ -232482,7 +232595,7 @@ function getExtensionPath() {
|
|
|
232482
232595
|
throw new ExtensionNotFoundError(`SQLite Vector extension not found for platform: ${getCurrentPlatform()}\n\nThe platform-specific package "${getPlatformPackageName()}" is not installed.\nThis usually happens when:\n 1. Your platform is not supported\n 2. npm failed to install optional dependencies\n 3. You're installing with --no-optional flag\n\nTry running: npm install --force`);
|
|
232483
232596
|
}
|
|
232484
232597
|
//#endregion
|
|
232485
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232598
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/Sqlite.js
|
|
232486
232599
|
/**
|
|
232487
232600
|
* @since 1.0.0
|
|
232488
232601
|
*/
|
|
@@ -232510,7 +232623,7 @@ const SqliteLayer = (database) => layer$1({ loader: fromRecord({ "0001_create_ch
|
|
|
232510
232623
|
yield* fs.makeDirectory(directory, { recursive: true });
|
|
232511
232624
|
}))));
|
|
232512
232625
|
//#endregion
|
|
232513
|
-
//#region node_modules/.pnpm/clanka@0.2.
|
|
232626
|
+
//#region node_modules/.pnpm/clanka@0.2.30_@effect+ai-openai-compat@4.0.0-beta.36_effect@4.0.0-beta.36__@effect+ai-o_4128f6b6cb035b98696bdeb40e30bb98/node_modules/clanka/dist/SemanticSearch.js
|
|
232514
232627
|
/**
|
|
232515
232628
|
* @since 1.0.0
|
|
232516
232629
|
*/
|
|
@@ -242223,7 +242336,7 @@ const commandEdit = make$60("edit").pipe(withDescription("Open the selected proj
|
|
|
242223
242336
|
const commandSource = make$60("source").pipe(withDescription("Select the issue source to use (e.g. GitHub Issues or Linear). This applies to all projects."), withHandler(() => selectIssueSource), provide(Settings.layer));
|
|
242224
242337
|
//#endregion
|
|
242225
242338
|
//#region package.json
|
|
242226
|
-
var version = "0.3.
|
|
242339
|
+
var version = "0.3.101";
|
|
242227
242340
|
//#endregion
|
|
242228
242341
|
//#region src/Tracing.ts
|
|
242229
242342
|
const TracingLayer = unwrap$3(gen(function* () {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lalph",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.101",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",
|
|
46
46
|
"@octokit/types": "^16.0.0",
|
|
47
47
|
"@typescript/native-preview": "7.0.0-dev.20260322.1",
|
|
48
|
-
"clanka": "^0.2.
|
|
48
|
+
"clanka": "^0.2.30",
|
|
49
49
|
"concurrently": "^9.2.1",
|
|
50
50
|
"effect": "4.0.0-beta.36",
|
|
51
51
|
"husky": "^9.1.7",
|
package/src/IssueSource.ts
CHANGED