@onepointfour-packs/flaredeck-agent 0.2.216 → 0.2.217
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/engine-antigravity.js +5 -0
- package/dist/engine-antigravity.js.map +1 -1
- package/dist/engine.d.ts +2 -0
- package/dist/engine.js.map +1 -1
- package/dist/features/hand-back.d.ts +5 -0
- package/dist/features/hand-back.js +7 -0
- package/dist/features/hand-back.js.map +1 -1
- package/dist/flaredeck-proxy.d.ts +6 -2
- package/dist/flaredeck-proxy.js +13 -3
- package/dist/flaredeck-proxy.js.map +1 -1
- package/dist/permissions.d.ts +1 -1
- package/dist/permissions.js +3 -0
- package/dist/permissions.js.map +1 -1
- package/dist/serve.js +11 -2
- package/dist/serve.js.map +1 -1
- package/dist/team.d.ts +5 -0
- package/dist/team.js.map +1 -1
- package/dist/timesheets.d.ts +45 -0
- package/dist/timesheets.js +78 -0
- package/dist/timesheets.js.map +1 -0
- package/package.json +2 -2
package/dist/team.d.ts
CHANGED
|
@@ -40,6 +40,11 @@ export type Team = {
|
|
|
40
40
|
name: string;
|
|
41
41
|
reportsTo?: string;
|
|
42
42
|
reports?: string[];
|
|
43
|
+
/** Whether this workspace bills agents' time, and its rules for doing it. See timesheets.ts. */
|
|
44
|
+
timesheets?: {
|
|
45
|
+
required?: boolean;
|
|
46
|
+
rules?: string;
|
|
47
|
+
};
|
|
43
48
|
};
|
|
44
49
|
agents: TeamMember[];
|
|
45
50
|
};
|
package/dist/team.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.js","sourceRoot":"","sources":["../src/team.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"team.js","sourceRoot":"","sources":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MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE;IACF,6FAA6F;IAC7F,6FAA6F;IAC7F,6DAA6D;IAC7D,EAAE;IACF,+FAA+F;IAC/F,iGAAiG;IACjG,mGAAmG;IACnG,EAAE;IACF,+FAA+F;IAC/F,4FAA4F;IAC5F,gGAAgG;IAChG,0DAA0D;IAC1D,EAAE;IACF,iGAAiG;IACjG,uEAAuE;IACvE,+FAA+F;IAC/F,iGAAiG;IACjG,6FAA6F;IAC7F,mCAAmC;IACnC,EAAE;IACF,gGAAgG;IAChG,6FAA6F;IAC7F,wDAAwD;IACxD,EAAE;IACF,8FAA8F;IAC9F,8DAA8D;IAC9D,EAAE;IACF,+FAA+F;IAC/F,6FAA6F;IAC7F,mGAAmG;IACnG,oFAAoF;IACpF,sFAAsF;IACtF,4FAA4F;IAC5F,4EAA4E;IAC5E,EAAE;IACF,+FAA+F;IAC/F,6FAA6F;IAC7F,+FAA+F;IAC/F,gGAAgG;IAChG,mGAAmG;IACnG,mCAAmC;IACnC,EAAE;IACF,8FAA8F;IAC9F,gGAAgG;IAChG,2EAA2E;CAC5E,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timesheets, for the workspaces that bill their agents' time.
|
|
3
|
+
*
|
|
4
|
+
* Most workspaces do not, and there a worker is never offered the timesheet tools: booking hours
|
|
5
|
+
* is not what it is for. Some do — a client is billed for every card, an agent's or a person's
|
|
6
|
+
* alike — and there an agent that finishes a card without logging it leaves a hole in the invoice
|
|
7
|
+
* that somebody finds at month end, by hand. C3PO kept the rule in its own notes (§8.8 of its
|
|
8
|
+
* ASSISTANT.md) and kept it, but it did so because it had been told. An agent that never was
|
|
9
|
+
* simply would not.
|
|
10
|
+
*
|
|
11
|
+
* So the rule is the WORKSPACE's (Integrations → Agent timesheets), it reaches every agent there,
|
|
12
|
+
* and the harness asks at the one moment it matters: when the card is about to be called finished.
|
|
13
|
+
* It asks once. An agent that cannot log — no project fits, the tool refuses — still gets to finish
|
|
14
|
+
* on its second try; a card held hostage to a timesheet is a worse outcome than a missing line.
|
|
15
|
+
*/
|
|
16
|
+
export type TimesheetRule = {
|
|
17
|
+
/** This workspace bills agents' time: every finished card gets an entry. */
|
|
18
|
+
required: boolean;
|
|
19
|
+
/** The workspace's own words — which project is which, anything particular to it. */
|
|
20
|
+
rules: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const NO_TIMESHEETS: TimesheetRule;
|
|
23
|
+
export declare const TIMESHEET_TOOLS: readonly string[];
|
|
24
|
+
/** What the team endpoint sent, made safe to rely on. Anything odd reads as "not required". */
|
|
25
|
+
export declare function timesheetRule(raw: unknown): TimesheetRule;
|
|
26
|
+
/** What the agent is told when it tries to finish a card it has not logged. */
|
|
27
|
+
export declare function timesheetAsk(code: string, rule: TimesheetRule): string;
|
|
28
|
+
/**
|
|
29
|
+
* Which cards have their time logged, and which the agent has been asked about.
|
|
30
|
+
*
|
|
31
|
+
* Per harness process. A restart forgets, and the worst that does is ask once more — the ask says
|
|
32
|
+
* not to log twice.
|
|
33
|
+
*/
|
|
34
|
+
export declare class TimesheetLedger {
|
|
35
|
+
private logged;
|
|
36
|
+
private asked;
|
|
37
|
+
/** A call that went to FlareDeck. Only a time entry naming a card counts. */
|
|
38
|
+
record(tool: string, args: Record<string, unknown>): void;
|
|
39
|
+
/**
|
|
40
|
+
* Null when the card may be called finished; otherwise what to tell the agent. `also` is the
|
|
41
|
+
* card's other name — FlareDeck knows a card by its code and by its key, and an entry may name
|
|
42
|
+
* either.
|
|
43
|
+
*/
|
|
44
|
+
gate(code: string, rule: TimesheetRule, also?: string): string | null;
|
|
45
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timesheets, for the workspaces that bill their agents' time.
|
|
3
|
+
*
|
|
4
|
+
* Most workspaces do not, and there a worker is never offered the timesheet tools: booking hours
|
|
5
|
+
* is not what it is for. Some do — a client is billed for every card, an agent's or a person's
|
|
6
|
+
* alike — and there an agent that finishes a card without logging it leaves a hole in the invoice
|
|
7
|
+
* that somebody finds at month end, by hand. C3PO kept the rule in its own notes (§8.8 of its
|
|
8
|
+
* ASSISTANT.md) and kept it, but it did so because it had been told. An agent that never was
|
|
9
|
+
* simply would not.
|
|
10
|
+
*
|
|
11
|
+
* So the rule is the WORKSPACE's (Integrations → Agent timesheets), it reaches every agent there,
|
|
12
|
+
* and the harness asks at the one moment it matters: when the card is about to be called finished.
|
|
13
|
+
* It asks once. An agent that cannot log — no project fits, the tool refuses — still gets to finish
|
|
14
|
+
* on its second try; a card held hostage to a timesheet is a worse outcome than a missing line.
|
|
15
|
+
*/
|
|
16
|
+
export const NO_TIMESHEETS = { required: false, rules: '' };
|
|
17
|
+
export const TIMESHEET_TOOLS = ['add-timesheet-entry', 'get-timesheet-options'];
|
|
18
|
+
/** What the team endpoint sent, made safe to rely on. Anything odd reads as "not required". */
|
|
19
|
+
export function timesheetRule(raw) {
|
|
20
|
+
if (!raw || typeof raw !== 'object')
|
|
21
|
+
return NO_TIMESHEETS;
|
|
22
|
+
const r = raw;
|
|
23
|
+
return { required: r['required'] === true, rules: typeof r['rules'] === 'string' ? r['rules'].trim() : '' };
|
|
24
|
+
}
|
|
25
|
+
const norm = (code) => code.trim().toUpperCase();
|
|
26
|
+
/** What the agent is told when it tries to finish a card it has not logged. */
|
|
27
|
+
export function timesheetAsk(code, rule) {
|
|
28
|
+
return [
|
|
29
|
+
`Before ${code} counts as finished: this workspace bills agents' time, and every finished card gets a timesheet entry. Log it now, then finish again.`,
|
|
30
|
+
'',
|
|
31
|
+
'1. `get-timesheet-options` — the projects, and the task names each one defines.',
|
|
32
|
+
'2. `add-timesheet-entry` with:',
|
|
33
|
+
` - \`card\`: ${code}`,
|
|
34
|
+
' - `billableItem`: the project this work belongs to',
|
|
35
|
+
' - `item`: one of that project\'s task names, chosen by the kind of work (Analysis, Design, Front End development, Back End development, QA, Project Management…) — never a card code or title. The report totals by task, so a card code here makes every line unique and nothing adds up.',
|
|
36
|
+
' - `from` / `to`: today, not overlapping anything else you logged today',
|
|
37
|
+
' - `notes`: what you did, in a line or two',
|
|
38
|
+
'',
|
|
39
|
+
'How long: what a human developer would have needed to code, test and deploy this by hand — not how long you took. A one-line change is still about 30 minutes; a cross-stack bug hunt is a couple of hours.',
|
|
40
|
+
...(rule.rules ? ['', 'This workspace\'s rules (they win over anything above):', rule.rules] : []),
|
|
41
|
+
'',
|
|
42
|
+
`If you already logged ${code} in this session, do not log it again — just finish.`,
|
|
43
|
+
].join('\n');
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Which cards have their time logged, and which the agent has been asked about.
|
|
47
|
+
*
|
|
48
|
+
* Per harness process. A restart forgets, and the worst that does is ask once more — the ask says
|
|
49
|
+
* not to log twice.
|
|
50
|
+
*/
|
|
51
|
+
export class TimesheetLedger {
|
|
52
|
+
logged = new Set();
|
|
53
|
+
asked = new Set();
|
|
54
|
+
/** A call that went to FlareDeck. Only a time entry naming a card counts. */
|
|
55
|
+
record(tool, args) {
|
|
56
|
+
if (tool !== 'add-timesheet-entry')
|
|
57
|
+
return;
|
|
58
|
+
const card = args['card'];
|
|
59
|
+
if (typeof card === 'string' && card.trim())
|
|
60
|
+
this.logged.add(norm(card));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Null when the card may be called finished; otherwise what to tell the agent. `also` is the
|
|
64
|
+
* card's other name — FlareDeck knows a card by its code and by its key, and an entry may name
|
|
65
|
+
* either.
|
|
66
|
+
*/
|
|
67
|
+
gate(code, rule, also = '') {
|
|
68
|
+
if (!rule.required || !code.trim())
|
|
69
|
+
return null;
|
|
70
|
+
const names = [code, also].filter((c) => c.trim()).map(norm);
|
|
71
|
+
if (names.some((n) => this.logged.has(n) || this.asked.has(n)))
|
|
72
|
+
return null;
|
|
73
|
+
for (const n of names)
|
|
74
|
+
this.asked.add(n);
|
|
75
|
+
return timesheetAsk(code, r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YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAClC,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onepointfour-packs/flaredeck-agent",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.217",
|
|
4
4
|
"description": "Run a FlareDeck agent on your own machine: it picks up cards assigned to it, works each one in a checkout of its own, and reports back on the card.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"prepublishOnly": "node scripts/bump-sdk.mjs && npm run build"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@anthropic-ai/claude-agent-sdk": "^0.3.
|
|
24
|
+
"@anthropic-ai/claude-agent-sdk": "^0.3.316",
|
|
25
25
|
"ink": "^7.1.1",
|
|
26
26
|
"ink-text-input": "^6.0.0",
|
|
27
27
|
"playwright-core": "^1.64.0",
|