@gurulu/cli 1.6.4 → 1.6.5
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/bin.js +33 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +33 -11
- package/dist/wizard/agent.d.ts +1 -1
- package/dist/wizard/agent.d.ts.map +1 -1
- package/dist/wizard/run.d.ts.map +1 -1
- package/dist/wizard/wire.d.ts +2 -0
- package/dist/wizard/wire.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -42124,6 +42124,16 @@ function buildWireSystemPrompt() {
|
|
|
42124
42124
|
' {"tool": "done", "summary": "<what was wired>"}',
|
|
42125
42125
|
'Example turn: {"reasoning": "Read entry to find the init call site", "action": {"tool": "read", "path": "src/main.tsx"}}',
|
|
42126
42126
|
"",
|
|
42127
|
+
"SDK API (@gurulu/web) — use EXACTLY this; NEVER invent import style or option names:",
|
|
42128
|
+
" import gurulu from '@gurulu/web'; // DEFAULT import — NOT `import { gurulu }`",
|
|
42129
|
+
" gurulu.init({ workspaceKey: '<key>' }); // option is `workspaceKey`, NOT `apiKey`",
|
|
42130
|
+
" gurulu.track('event_key', { /* props */ });",
|
|
42131
|
+
" gurulu.identify(userId, { /* traits */ });",
|
|
42132
|
+
"- init() is added ONCE at the app entry. If an init call already exists in the file, NEVER add",
|
|
42133
|
+
' a second one — do not duplicate or "re-initialize". Your main job is track()/identify()/wrapping.',
|
|
42134
|
+
"- If you must add init, use the EXACT snippet given in the user message verbatim (correct env var + key).",
|
|
42135
|
+
"- Put new imports at the TOP of the file with the other imports, never in the middle of the body.",
|
|
42136
|
+
"",
|
|
42127
42137
|
"HARD RULES:",
|
|
42128
42138
|
"- ADDITIVE-ONLY: every edit `replace` MUST contain `find` verbatim — you may only ADD code,",
|
|
42129
42139
|
' never delete or rewrite existing code. Edits violating this are rejected. To "wrap" an existing',
|
|
@@ -42143,8 +42153,11 @@ function buildWireSystemPrompt() {
|
|
|
42143
42153
|
].join(`
|
|
42144
42154
|
`);
|
|
42145
42155
|
}
|
|
42146
|
-
function buildWireUserPrompt(events, identifyHint, files, extraTasks = []) {
|
|
42156
|
+
function buildWireUserPrompt(events, identifyHint, files, extraTasks = [], initSnippet) {
|
|
42147
42157
|
const sections = [];
|
|
42158
|
+
if (initSnippet) {
|
|
42159
|
+
sections.push("SDK init snippet (add ONLY if an init call is not already present at the app entry;", "copy it VERBATIM — correct default import, `workspaceKey`, env var and key are already right):", initSnippet, "");
|
|
42160
|
+
}
|
|
42148
42161
|
if (events.length > 0) {
|
|
42149
42162
|
const evLines = events.map((e2) => `- ${e2.event_key} (${e2.event_type})${e2.capture_hint ? ` @ ${e2.capture_hint}` : ""}: ${e2.reason}`).join(`
|
|
42150
42163
|
`);
|
|
@@ -42167,7 +42180,7 @@ async function runWireAgent(client, input, snapshots) {
|
|
|
42167
42180
|
{ role: "system", content: buildWireSystemPrompt() },
|
|
42168
42181
|
{
|
|
42169
42182
|
role: "user",
|
|
42170
|
-
content: buildWireUserPrompt(input.events, input.identifyHint, input.files, input.extraTasks ?? [])
|
|
42183
|
+
content: buildWireUserPrompt(input.events, input.identifyHint, input.files, input.extraTasks ?? [], input.initSnippet)
|
|
42171
42184
|
}
|
|
42172
42185
|
];
|
|
42173
42186
|
const edits = [];
|
|
@@ -42352,19 +42365,21 @@ async function runWizard(opts) {
|
|
|
42352
42365
|
p4.log.info(c3.dim(`Bu proje zaten bağlı (workspace ${priorConfig.workspace_id.slice(0, 8)}…) — güncelleme / yeni özellik ekleme modu.`));
|
|
42353
42366
|
}
|
|
42354
42367
|
const TOTAL = 6;
|
|
42355
|
-
const phase = (n2, label) => {
|
|
42368
|
+
const phase = (n2, label, desc) => {
|
|
42356
42369
|
p4.log.step(`${c3.dim(`[${n2}/${TOTAL}]`)} ${c3.bold(label)}`);
|
|
42370
|
+
if (desc)
|
|
42371
|
+
p4.log.message(c3.dim(desc));
|
|
42357
42372
|
};
|
|
42358
|
-
phase(1, "
|
|
42373
|
+
phase(1, "Hesabına bağlanıyoruz", "Gurulu hesabınla güvenli oturum — ilk sefer tarayıcıda bir onay, sonra hatırlanır.");
|
|
42359
42374
|
const auth = await ensureAuth({
|
|
42360
42375
|
...opts.endpoint ? { endpoint: opts.endpoint } : {},
|
|
42361
42376
|
...opts.apiKey ? { apiKey: opts.apiKey } : {},
|
|
42362
42377
|
...opts.workspaceId ? { workspaceId: opts.workspaceId } : {}
|
|
42363
42378
|
});
|
|
42364
42379
|
const client = new ApiClient({ endpoint: auth.endpoint, apiKey: auth.apiKey });
|
|
42365
|
-
phase(2, "
|
|
42380
|
+
phase(2, "Çalışma alanı seçiliyor", "Verilerinin akacağı workspace ayarlanıyor ve site anahtarı üretiliyor.");
|
|
42366
42381
|
const { workspaceId, writeKey } = await resolveWorkspace(client, auth.workspaceId, opts);
|
|
42367
|
-
phase(3, "
|
|
42382
|
+
phase(3, "Projeni tanıyoruz", "Kodun okunuyor; hangi kullanıcı olaylarını (ör. kayıt, satın alma) izleyeceğimiz planlanıyor.");
|
|
42368
42383
|
const detected = detectProject(opts.cwd);
|
|
42369
42384
|
let framework = detected.framework;
|
|
42370
42385
|
if (opts.framework && FRAMEWORKS.includes(opts.framework)) {
|
|
@@ -42434,7 +42449,7 @@ async function runWizard(opts) {
|
|
|
42434
42449
|
});
|
|
42435
42450
|
const isNode = plan.sdk === "@gurulu/node";
|
|
42436
42451
|
const checkpoint = opts.autonomous ? createCheckpoint(opts.cwd) : null;
|
|
42437
|
-
phase(4, "SDK
|
|
42452
|
+
phase(4, "SDK ekleniyor", "Ölçüm kütüphanesi (@gurulu/web) projene kuruluyor.");
|
|
42438
42453
|
let installed = false;
|
|
42439
42454
|
if (opts.noInstall) {
|
|
42440
42455
|
p4.log.info(`SDK kurulumu atlandı — elle: ${plan.installCommand}`);
|
|
@@ -42460,7 +42475,7 @@ async function runWizard(opts) {
|
|
|
42460
42475
|
s2.stop(`Kurulum başarısız (geri alındı) — elle çalıştır: ${plan.installCommand}`, 1);
|
|
42461
42476
|
}
|
|
42462
42477
|
}
|
|
42463
|
-
phase(5, "
|
|
42478
|
+
phase(5, "Koduna bağlanıyor", "SDK kodun içine otomatik yerleştiriliyor ve ayarlar (.env) yazılıyor.");
|
|
42464
42479
|
const activationSelected = featuresResult.selected.some((f3) => f3.key === "activation");
|
|
42465
42480
|
const inj = applyInjection({
|
|
42466
42481
|
cwd: opts.cwd,
|
|
@@ -42507,7 +42522,7 @@ async function runWizard(opts) {
|
|
|
42507
42522
|
endpoint: auth.endpoint,
|
|
42508
42523
|
sdkPref: isNode ? "node" : "web"
|
|
42509
42524
|
});
|
|
42510
|
-
phase(6, "
|
|
42525
|
+
phase(6, "Kaydediliyor & özet", "Olay tanımların kaydediliyor, kurulum doğrulanıyor ve özet çıkarılıyor.");
|
|
42511
42526
|
let pulled = false;
|
|
42512
42527
|
if (!opts.noPull) {
|
|
42513
42528
|
try {
|
|
@@ -42536,7 +42551,14 @@ ${captureGuide(approvedEvents, identifyHint, isNode)}`);
|
|
|
42536
42551
|
const snapshots = new Map;
|
|
42537
42552
|
const s2 = p4.spinner();
|
|
42538
42553
|
s2.start("AI capture wiring (kod düzenleniyor)…");
|
|
42539
|
-
const outcome = await runWireAgent(client, {
|
|
42554
|
+
const outcome = await runWireAgent(client, {
|
|
42555
|
+
cwd: opts.cwd,
|
|
42556
|
+
events: approvedEvents,
|
|
42557
|
+
identifyHint,
|
|
42558
|
+
files: wireFiles,
|
|
42559
|
+
extraTasks,
|
|
42560
|
+
initSnippet: inj.strategy === "manual" ? plan.initSnippet : undefined
|
|
42561
|
+
}, snapshots);
|
|
42540
42562
|
s2.stop(`wire: ${outcome.changedFiles.length} dosya / ${outcome.steps} adım (${outcome.stoppedReason})`);
|
|
42541
42563
|
if (outcome.changedFiles.length > 0) {
|
|
42542
42564
|
p4.log.message(formatWireDiff(opts.cwd, snapshots));
|
|
@@ -43111,7 +43133,7 @@ var uninstallCmd = defineCommand({
|
|
|
43111
43133
|
});
|
|
43112
43134
|
|
|
43113
43135
|
// src/index.ts
|
|
43114
|
-
var VERSION = "1.6.
|
|
43136
|
+
var VERSION = "1.6.5";
|
|
43115
43137
|
var mainCmd = defineCommand({
|
|
43116
43138
|
meta: {
|
|
43117
43139
|
name: "gurulu",
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -41701,6 +41701,16 @@ function buildWireSystemPrompt() {
|
|
|
41701
41701
|
' {"tool": "done", "summary": "<what was wired>"}',
|
|
41702
41702
|
'Example turn: {"reasoning": "Read entry to find the init call site", "action": {"tool": "read", "path": "src/main.tsx"}}',
|
|
41703
41703
|
"",
|
|
41704
|
+
"SDK API (@gurulu/web) — use EXACTLY this; NEVER invent import style or option names:",
|
|
41705
|
+
" import gurulu from '@gurulu/web'; // DEFAULT import — NOT `import { gurulu }`",
|
|
41706
|
+
" gurulu.init({ workspaceKey: '<key>' }); // option is `workspaceKey`, NOT `apiKey`",
|
|
41707
|
+
" gurulu.track('event_key', { /* props */ });",
|
|
41708
|
+
" gurulu.identify(userId, { /* traits */ });",
|
|
41709
|
+
"- init() is added ONCE at the app entry. If an init call already exists in the file, NEVER add",
|
|
41710
|
+
' a second one — do not duplicate or "re-initialize". Your main job is track()/identify()/wrapping.',
|
|
41711
|
+
"- If you must add init, use the EXACT snippet given in the user message verbatim (correct env var + key).",
|
|
41712
|
+
"- Put new imports at the TOP of the file with the other imports, never in the middle of the body.",
|
|
41713
|
+
"",
|
|
41704
41714
|
"HARD RULES:",
|
|
41705
41715
|
"- ADDITIVE-ONLY: every edit `replace` MUST contain `find` verbatim — you may only ADD code,",
|
|
41706
41716
|
' never delete or rewrite existing code. Edits violating this are rejected. To "wrap" an existing',
|
|
@@ -41720,8 +41730,11 @@ function buildWireSystemPrompt() {
|
|
|
41720
41730
|
].join(`
|
|
41721
41731
|
`);
|
|
41722
41732
|
}
|
|
41723
|
-
function buildWireUserPrompt(events, identifyHint, files, extraTasks = []) {
|
|
41733
|
+
function buildWireUserPrompt(events, identifyHint, files, extraTasks = [], initSnippet) {
|
|
41724
41734
|
const sections = [];
|
|
41735
|
+
if (initSnippet) {
|
|
41736
|
+
sections.push("SDK init snippet (add ONLY if an init call is not already present at the app entry;", "copy it VERBATIM — correct default import, `workspaceKey`, env var and key are already right):", initSnippet, "");
|
|
41737
|
+
}
|
|
41725
41738
|
if (events.length > 0) {
|
|
41726
41739
|
const evLines = events.map((e2) => `- ${e2.event_key} (${e2.event_type})${e2.capture_hint ? ` @ ${e2.capture_hint}` : ""}: ${e2.reason}`).join(`
|
|
41727
41740
|
`);
|
|
@@ -41744,7 +41757,7 @@ async function runWireAgent(client, input, snapshots) {
|
|
|
41744
41757
|
{ role: "system", content: buildWireSystemPrompt() },
|
|
41745
41758
|
{
|
|
41746
41759
|
role: "user",
|
|
41747
|
-
content: buildWireUserPrompt(input.events, input.identifyHint, input.files, input.extraTasks ?? [])
|
|
41760
|
+
content: buildWireUserPrompt(input.events, input.identifyHint, input.files, input.extraTasks ?? [], input.initSnippet)
|
|
41748
41761
|
}
|
|
41749
41762
|
];
|
|
41750
41763
|
const edits = [];
|
|
@@ -41929,19 +41942,21 @@ async function runWizard(opts) {
|
|
|
41929
41942
|
p4.log.info(c3.dim(`Bu proje zaten bağlı (workspace ${priorConfig.workspace_id.slice(0, 8)}…) — güncelleme / yeni özellik ekleme modu.`));
|
|
41930
41943
|
}
|
|
41931
41944
|
const TOTAL = 6;
|
|
41932
|
-
const phase = (n2, label) => {
|
|
41945
|
+
const phase = (n2, label, desc) => {
|
|
41933
41946
|
p4.log.step(`${c3.dim(`[${n2}/${TOTAL}]`)} ${c3.bold(label)}`);
|
|
41947
|
+
if (desc)
|
|
41948
|
+
p4.log.message(c3.dim(desc));
|
|
41934
41949
|
};
|
|
41935
|
-
phase(1, "
|
|
41950
|
+
phase(1, "Hesabına bağlanıyoruz", "Gurulu hesabınla güvenli oturum — ilk sefer tarayıcıda bir onay, sonra hatırlanır.");
|
|
41936
41951
|
const auth = await ensureAuth({
|
|
41937
41952
|
...opts.endpoint ? { endpoint: opts.endpoint } : {},
|
|
41938
41953
|
...opts.apiKey ? { apiKey: opts.apiKey } : {},
|
|
41939
41954
|
...opts.workspaceId ? { workspaceId: opts.workspaceId } : {}
|
|
41940
41955
|
});
|
|
41941
41956
|
const client = new ApiClient({ endpoint: auth.endpoint, apiKey: auth.apiKey });
|
|
41942
|
-
phase(2, "
|
|
41957
|
+
phase(2, "Çalışma alanı seçiliyor", "Verilerinin akacağı workspace ayarlanıyor ve site anahtarı üretiliyor.");
|
|
41943
41958
|
const { workspaceId, writeKey } = await resolveWorkspace(client, auth.workspaceId, opts);
|
|
41944
|
-
phase(3, "
|
|
41959
|
+
phase(3, "Projeni tanıyoruz", "Kodun okunuyor; hangi kullanıcı olaylarını (ör. kayıt, satın alma) izleyeceğimiz planlanıyor.");
|
|
41945
41960
|
const detected = detectProject(opts.cwd);
|
|
41946
41961
|
let framework = detected.framework;
|
|
41947
41962
|
if (opts.framework && FRAMEWORKS.includes(opts.framework)) {
|
|
@@ -42011,7 +42026,7 @@ async function runWizard(opts) {
|
|
|
42011
42026
|
});
|
|
42012
42027
|
const isNode = plan.sdk === "@gurulu/node";
|
|
42013
42028
|
const checkpoint = opts.autonomous ? createCheckpoint(opts.cwd) : null;
|
|
42014
|
-
phase(4, "SDK
|
|
42029
|
+
phase(4, "SDK ekleniyor", "Ölçüm kütüphanesi (@gurulu/web) projene kuruluyor.");
|
|
42015
42030
|
let installed = false;
|
|
42016
42031
|
if (opts.noInstall) {
|
|
42017
42032
|
p4.log.info(`SDK kurulumu atlandı — elle: ${plan.installCommand}`);
|
|
@@ -42037,7 +42052,7 @@ async function runWizard(opts) {
|
|
|
42037
42052
|
s2.stop(`Kurulum başarısız (geri alındı) — elle çalıştır: ${plan.installCommand}`, 1);
|
|
42038
42053
|
}
|
|
42039
42054
|
}
|
|
42040
|
-
phase(5, "
|
|
42055
|
+
phase(5, "Koduna bağlanıyor", "SDK kodun içine otomatik yerleştiriliyor ve ayarlar (.env) yazılıyor.");
|
|
42041
42056
|
const activationSelected = featuresResult.selected.some((f3) => f3.key === "activation");
|
|
42042
42057
|
const inj = applyInjection({
|
|
42043
42058
|
cwd: opts.cwd,
|
|
@@ -42084,7 +42099,7 @@ async function runWizard(opts) {
|
|
|
42084
42099
|
endpoint: auth.endpoint,
|
|
42085
42100
|
sdkPref: isNode ? "node" : "web"
|
|
42086
42101
|
});
|
|
42087
|
-
phase(6, "
|
|
42102
|
+
phase(6, "Kaydediliyor & özet", "Olay tanımların kaydediliyor, kurulum doğrulanıyor ve özet çıkarılıyor.");
|
|
42088
42103
|
let pulled = false;
|
|
42089
42104
|
if (!opts.noPull) {
|
|
42090
42105
|
try {
|
|
@@ -42113,7 +42128,14 @@ ${captureGuide(approvedEvents, identifyHint, isNode)}`);
|
|
|
42113
42128
|
const snapshots = new Map;
|
|
42114
42129
|
const s2 = p4.spinner();
|
|
42115
42130
|
s2.start("AI capture wiring (kod düzenleniyor)…");
|
|
42116
|
-
const outcome = await runWireAgent(client, {
|
|
42131
|
+
const outcome = await runWireAgent(client, {
|
|
42132
|
+
cwd: opts.cwd,
|
|
42133
|
+
events: approvedEvents,
|
|
42134
|
+
identifyHint,
|
|
42135
|
+
files: wireFiles,
|
|
42136
|
+
extraTasks,
|
|
42137
|
+
initSnippet: inj.strategy === "manual" ? plan.initSnippet : undefined
|
|
42138
|
+
}, snapshots);
|
|
42117
42139
|
s2.stop(`wire: ${outcome.changedFiles.length} dosya / ${outcome.steps} adım (${outcome.stoppedReason})`);
|
|
42118
42140
|
if (outcome.changedFiles.length > 0) {
|
|
42119
42141
|
p4.log.message(formatWireDiff(opts.cwd, snapshots));
|
|
@@ -42688,7 +42710,7 @@ var uninstallCmd = defineCommand({
|
|
|
42688
42710
|
});
|
|
42689
42711
|
|
|
42690
42712
|
// src/index.ts
|
|
42691
|
-
var VERSION = "1.6.
|
|
42713
|
+
var VERSION = "1.6.5";
|
|
42692
42714
|
var mainCmd = defineCommand({
|
|
42693
42715
|
meta: {
|
|
42694
42716
|
name: "gurulu",
|
package/dist/wizard/agent.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ export declare function executeTool(action: AgentAction, deps: ToolDeps): Promis
|
|
|
18
18
|
/** Wire agent system prompt (commandments) — pure. */
|
|
19
19
|
export declare function buildWireSystemPrompt(): string;
|
|
20
20
|
/** İlk user mesajı — onaylı plan + ek görevler + dosya listesi (pure). */
|
|
21
|
-
export declare function buildWireUserPrompt(events: PlannedEvent[], identifyHint: string | null, files: string[], extraTasks?: string[]): string;
|
|
21
|
+
export declare function buildWireUserPrompt(events: PlannedEvent[], identifyHint: string | null, files: string[], extraTasks?: string[], initSnippet?: string): string;
|
|
22
22
|
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/wizard/agent.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAuC/D,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,OAAO,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,uEAAuE;IACvE,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrF;AAuBD,kEAAkE;AAClE,wBAAsB,WAAW,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CA+C1F;AAED,sDAAsD;AACtD,wBAAgB,qBAAqB,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/wizard/agent.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAuC/D,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,OAAO,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,uEAAuE;IACvE,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrF;AAuBD,kEAAkE;AAClE,wBAAsB,WAAW,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CA+C1F;AAED,sDAAsD;AACtD,wBAAgB,qBAAqB,IAAI,MAAM,CAyC9C;AAED,0EAA0E;AAC1E,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,YAAY,EAAE,EACtB,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,KAAK,EAAE,MAAM,EAAE,EACf,UAAU,GAAE,MAAM,EAAO,EACzB,WAAW,CAAC,EAAE,MAAM,GACnB,MAAM,CAmCR"}
|
package/dist/wizard/run.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/wizard/run.ts"],"names":[],"mappings":"AAuCA,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4CAA4C;IAC5C,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,sFAAsF;IACtF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA0DD,wBAAsB,SAAS,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/wizard/run.ts"],"names":[],"mappings":"AAuCA,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4CAA4C;IAC5C,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,sFAAsF;IACtF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA0DD,wBAAsB,SAAS,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAidlE"}
|
package/dist/wizard/wire.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export interface WireInput {
|
|
|
21
21
|
files: string[];
|
|
22
22
|
/** Feature/inject kaynaklı ek wire görevleri (LLM client sarma · provider mount). */
|
|
23
23
|
extraTasks?: string[];
|
|
24
|
+
/** Doğru gurulu.init() snippet'i — AI'ın init API'sini uydurmasını engeller. */
|
|
25
|
+
initSnippet?: string;
|
|
24
26
|
}
|
|
25
27
|
/**
|
|
26
28
|
* Agent döngüsü. `snapshots` (file → pre-edit içerik) revert için doldurulur.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../../src/wizard/wire.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAoB,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI/E,eAAO,MAAM,SAAS,KAAK,CAAC;AAC5B,kFAAkF;AAClF,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,aAAa,CAAC;CAClE;AAED,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,qFAAqF;IACrF,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../../src/wizard/wire.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAoB,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI/E,eAAO,MAAM,SAAS,KAAK,CAAC;AAC5B,kFAAkF;AAClF,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,aAAa,CAAC;CAClE;AAED,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,qFAAqF;IACrF,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,gFAAgF;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAsB,YAAY,CAChC,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,SAAS,EAChB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC7B,OAAO,CAAC,WAAW,CAAC,CAyFtB;AAED,iEAAiE;AACjE,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAIlF;AAED,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,SAAI,GAAG,MAAM,CAiB7F;AAED,mEAAmE;AACnE,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAQlF"}
|