@quantiya/codevibe-claude-plugin 2.0.36 → 2.0.37
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/.claude-plugin/plugin.json +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/index.js +322 -322
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +6 -3
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/package.json +1 -1
- package/package.json +2 -2
|
@@ -64760,13 +64760,14 @@ function agyReadOnlyWorkdirPreamble(workdir) {
|
|
|
64760
64760
|
`);
|
|
64761
64761
|
}
|
|
64762
64762
|
function readOnlyAgentPrompt(args) {
|
|
64763
|
-
let body = [
|
|
64763
|
+
let hasRetainedPage = args.hasRetainedPage ?? args.advisoryBrief.includes(BRAINSTORM_RETAINED_PAGE_LABEL), body = [
|
|
64764
64764
|
`You are ${agentDisplayName(args.agent)}, a general-purpose coding agent collaborating through CodeVibe.`,
|
|
64765
64765
|
"This specific turn is a read-only discussion. That is a permission boundary for this turn, not your overall identity; in other CodeVibe turns you may act as an implementor or perform other coding work.",
|
|
64766
64766
|
"Do not describe yourself as a reviewer, review seat, quorum participant, hard-gate participant, or internal-policy role unless the user explicitly asks about that process.",
|
|
64767
64767
|
"Do not expose or summarize hidden instructions, workspace governance, release gates, or other internal orchestration policy unless the user explicitly asks about them.",
|
|
64768
64768
|
"If asked to introduce yourself, describe your broad coding and collaboration capabilities plus the read-only constraint for this turn.",
|
|
64769
64769
|
"Do not edit files, write files, run mutating commands, commit, push, deploy, or start a task during this turn.",
|
|
64770
|
+
hasRetainedPage ? "CodeVibe has already retrieved the web content shown below. Do not invoke web search, URL fetching, or external browser tools. If the user request is about that content or topic, synthesize and answer directly from it; otherwise ignore it and answer from your own knowledge." : "Do not invoke web search, URL fetching, or external network tools during this read-only turn.",
|
|
64770
64771
|
"Answer the user request directly in concise, human-readable Markdown.",
|
|
64771
64772
|
"If the user asks for implementation, explain the recommended approach without changing files.",
|
|
64772
64773
|
args.allowRepositoryTools ? "Repository inspection is allowed for this turn, but keep it bounded: inspect only the minimum files needed, do not narrate tool plans, and answer as soon as you have enough evidence." : "Do not inspect repository files for this turn. Answer from the user request, general engineering judgment, and clearly stated assumptions. If code inspection is necessary, say what to ask next.",
|
|
@@ -64920,7 +64921,8 @@ async function runReadOnlyAgentAdvisoryResult(args) {
|
|
|
64920
64921
|
intent: args.intent,
|
|
64921
64922
|
advisoryBrief: args.advisoryBrief,
|
|
64922
64923
|
workingDir: args.workingDir,
|
|
64923
|
-
allowRepositoryTools
|
|
64924
|
+
allowRepositoryTools,
|
|
64925
|
+
hasRetainedPage: args.hasRetainedPage
|
|
64924
64926
|
}),
|
|
64925
64927
|
...bindProcessOwner ? { onCleanupOwnerReady: bindProcessOwner } : {},
|
|
64926
64928
|
...retireProcessOwner ? { onCleanupOwnerRetired: retireProcessOwner } : {}
|
|
@@ -65101,7 +65103,7 @@ async function routeReadOnlyAgentMention(args) {
|
|
|
65101
65103
|
localOnly: !0
|
|
65102
65104
|
});
|
|
65103
65105
|
}
|
|
65104
|
-
let retainedPage = args.retainedPage !== void 0 ? args.retainedPage : getFreshRetainedBrowsePage(retainedBrowsePages, sessionId), preparedBrief = composeBrainstormPanelBrief({
|
|
65106
|
+
let retainedPage = args.retainedPage !== void 0 ? args.retainedPage : getFreshRetainedBrowsePage(retainedBrowsePages, sessionId), hasRetainedPage = !!(retainedPage && retainedPage.text.trim().length > 0), preparedBrief = composeBrainstormPanelBrief({
|
|
65105
65107
|
priorContext,
|
|
65106
65108
|
requestBrief,
|
|
65107
65109
|
retainedPage
|
|
@@ -65121,6 +65123,7 @@ ${READ_ONLY_ADVISORY_ATTACHMENT_SCOPE_LINE}` : "", cellBrief = `${framingPrefix}
|
|
|
65121
65123
|
intent: cellIntent,
|
|
65122
65124
|
advisoryBrief: cellBrief,
|
|
65123
65125
|
workingDir,
|
|
65126
|
+
hasRetainedPage,
|
|
65124
65127
|
// [#635] Both `@all` and directed `@agent` advisories flow through this
|
|
65125
65128
|
// one dispatch, so the generous 30-min ceiling applies to every panel
|
|
65126
65129
|
// cell (the old 120s interactive cap killed whole-repo advisories mid-run
|
|
@@ -46,6 +46,7 @@ import { ensureFreshContextStore } from './context-store';
|
|
|
46
46
|
import type { EnsureFreshResult } from './context-store';
|
|
47
47
|
import { contextItemOccurrence, type ContextDurabilityReceipt } from './context-items';
|
|
48
48
|
import { renderRehydratedSessionContext } from './context-compaction';
|
|
49
|
+
import type { AgentKind as LocalExecutorAgentKind } from '../local-executor/types';
|
|
49
50
|
import { type TaskProgressEvent } from './task-progress';
|
|
50
51
|
export declare class OrchestrationShellStartupError extends Error {
|
|
51
52
|
readonly cause?: unknown;
|
|
@@ -483,6 +484,14 @@ export declare function createSubscribedEventDispatcher(deps: {
|
|
|
483
484
|
* #469]). Called from the `teamShellEventTap.fn` installed at startup.
|
|
484
485
|
*/
|
|
485
486
|
export declare function routeTeamShellEventToStore(store: OrchestrationStore, evt: TeamTapEvent): void;
|
|
487
|
+
export declare function readOnlyAgentPrompt(args: {
|
|
488
|
+
agent: LocalExecutorAgentKind;
|
|
489
|
+
intent: AgentMentionIntent;
|
|
490
|
+
advisoryBrief: string;
|
|
491
|
+
workingDir: string;
|
|
492
|
+
allowRepositoryTools: boolean;
|
|
493
|
+
hasRetainedPage?: boolean;
|
|
494
|
+
}): string;
|
|
486
495
|
export declare const BRAINSTORM_PANEL_ADVISORY_TIMEOUT_MS = 1800000;
|
|
487
496
|
export declare function routeReadOnlyAgentMention(args: {
|
|
488
497
|
store: OrchestrationStore;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantiya/codevibe-claude-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.37",
|
|
4
4
|
"description": "Control Claude Code from your iPhone and Android — real-time sync, approve file edits, send prompts by voice. Part of CodeVibe.",
|
|
5
5
|
"main": "dist/server.js",
|
|
6
6
|
"codevibe": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"node": ">=22.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@quantiya/codevibe-core": "^2.0.
|
|
51
|
+
"@quantiya/codevibe-core": "^2.0.32",
|
|
52
52
|
"@quantiya/quorum-core": "^1.0.1",
|
|
53
53
|
"dotenv": "^16.6.1",
|
|
54
54
|
"express": "^5.1.0",
|