@slycode/slycode 0.2.15 → 0.2.16
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/bridge/session-manager.js +3 -3
- package/dist/bridge/session-manager.js.map +1 -1
- package/dist/messaging/bridge-client.js +1 -1
- package/dist/messaging/channels/telegram.d.ts +25 -5
- package/dist/messaging/channels/telegram.js +258 -152
- package/dist/messaging/channels/telegram.js.map +1 -1
- package/dist/messaging/index.js +5 -3
- package/dist/messaging/index.js.map +1 -1
- package/dist/messaging/state.d.ts +3 -0
- package/dist/messaging/state.js +13 -0
- package/dist/messaging/state.js.map +1 -1
- package/dist/messaging/types.d.ts +2 -0
- package/dist/web/.next/BUILD_ID +1 -1
- package/dist/web/.next/build-manifest.json +2 -2
- package/dist/web/.next/server/app/_global-error.html +2 -2
- package/dist/web/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.html +1 -1
- package/dist/web/.next/server/app/_not-found.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/chunks/src_lib_scheduler_ts_03988e3e._.js +1 -1
- package/dist/web/.next/server/chunks/src_lib_scheduler_ts_7120457c._.js +1 -1
- package/dist/web/.next/server/chunks/ssr/[root-of-the-server]__1f5fc489._.js +1 -1
- package/dist/web/.next/server/chunks/ssr/[root-of-the-server]__bcbe4bf2._.js +1 -1
- package/dist/web/.next/server/pages/404.html +1 -1
- package/dist/web/.next/server/pages/500.html +2 -2
- package/dist/web/.next/static/chunks/{68a737843232927b.js → 3d5195b57fc05540.js} +1 -1
- package/dist/web/.next/static/chunks/{7b456abf0afeeb60.js → 59fb302a5bfd2dc0.js} +1 -1
- package/dist/web/src/components/ClaudeTerminalPanel.tsx +1 -1
- package/dist/web/src/lib/scheduler.ts +11 -2
- package/dist/web/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -4
- package/templates/kanban-seed.json +1 -1
- /package/dist/web/.next/static/{du1bb9CKBc_rQF_UArbIP → 8LS_5MpE4jB-m4LMauTfz}/_buildManifest.js +0 -0
- /package/dist/web/.next/static/{du1bb9CKBc_rQF_UArbIP → 8LS_5MpE4jB-m4LMauTfz}/_clientMiddlewareManifest.json +0 -0
- /package/dist/web/.next/static/{du1bb9CKBc_rQF_UArbIP → 8LS_5MpE4jB-m4LMauTfz}/_ssgManifest.js +0 -0
|
@@ -491,7 +491,7 @@ export function ClaudeTerminalPanel({
|
|
|
491
491
|
// Delay before Enter — multi-line pastes trigger bracket paste mode
|
|
492
492
|
// and need time to process before \r can submit
|
|
493
493
|
if (submit) {
|
|
494
|
-
await new Promise(r => setTimeout(r,
|
|
494
|
+
await new Promise(r => setTimeout(r, 600));
|
|
495
495
|
await fetch(`${bridgeUrl}/sessions/${encodeURIComponent(sessionName)}/input`, {
|
|
496
496
|
method: 'POST',
|
|
497
497
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -457,8 +457,17 @@ export async function triggerAutomation(
|
|
|
457
457
|
const inputRes = await fetchWithTimeout(`${BRIDGE_URL}/sessions/${encodeURIComponent(sessionName)}/input`, {
|
|
458
458
|
method: 'POST',
|
|
459
459
|
headers: { 'Content-Type': 'application/json' },
|
|
460
|
-
body: JSON.stringify({ data: fullPrompt
|
|
460
|
+
body: JSON.stringify({ data: fullPrompt }),
|
|
461
461
|
});
|
|
462
|
+
if (inputRes.ok) {
|
|
463
|
+
// Delay before Enter to let PTY process the text
|
|
464
|
+
await new Promise(r => setTimeout(r, 600));
|
|
465
|
+
await fetchWithTimeout(`${BRIDGE_URL}/sessions/${encodeURIComponent(sessionName)}/input`, {
|
|
466
|
+
method: 'POST',
|
|
467
|
+
headers: { 'Content-Type': 'application/json' },
|
|
468
|
+
body: JSON.stringify({ data: '\r' }),
|
|
469
|
+
});
|
|
470
|
+
}
|
|
462
471
|
if (!inputRes.ok) {
|
|
463
472
|
const body = await inputRes.text();
|
|
464
473
|
return logAndReturn({ cardId: card.id, projectId, success: false, error: `Input failed (${inputRes.status}): ${body}` });
|
|
@@ -520,7 +529,7 @@ export async function triggerAutomation(
|
|
|
520
529
|
});
|
|
521
530
|
|
|
522
531
|
if (retryRes.ok) {
|
|
523
|
-
await new Promise(r => setTimeout(r,
|
|
532
|
+
await new Promise(r => setTimeout(r, 600));
|
|
524
533
|
await fetchWithTimeout(`${BRIDGE_URL}/sessions/${encodeURIComponent(sessionName)}/input`, {
|
|
525
534
|
method: 'POST',
|
|
526
535
|
headers: { 'Content-Type': 'application/json' },
|