@lessly/sdk-app 80.0.0 → 81.0.1
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/_types/gen/types.gen.d.ts +189 -9
- package/package.json +2 -2
- package/src/gen/types.gen.ts +189 -9
|
@@ -71287,23 +71287,83 @@ export interface BrainDaemonCreateInput {
|
|
|
71287
71287
|
sourceAuthority?: (("policy" | "official" | "team" | "informal") | null);
|
|
71288
71288
|
}
|
|
71289
71289
|
export interface BrainDaemonCreateOutput {
|
|
71290
|
+
/**
|
|
71291
|
+
* Id of this ingestion daemon — the value every other daemon tool takes as `id`
|
|
71292
|
+
*/
|
|
71290
71293
|
id: string;
|
|
71294
|
+
/**
|
|
71295
|
+
* Operator-given label for this daemon; null when it was never named
|
|
71296
|
+
*/
|
|
71291
71297
|
name: (string | null);
|
|
71298
|
+
/**
|
|
71299
|
+
* GitHub repository this daemon reads from; null on clickup and gdrive daemons
|
|
71300
|
+
*/
|
|
71292
71301
|
repo: (string | null);
|
|
71302
|
+
/**
|
|
71303
|
+
* Which source this daemon ingests from: 'github', 'clickup' or 'gdrive'
|
|
71304
|
+
*/
|
|
71293
71305
|
type: string;
|
|
71306
|
+
/**
|
|
71307
|
+
* The model an operator PINNED on this daemon, not necessarily the one that runs; null means Auto. Read effectiveModel for what extraction actually uses.
|
|
71308
|
+
*/
|
|
71294
71309
|
model: (string | null);
|
|
71310
|
+
/**
|
|
71311
|
+
* GitHub owner (user or org) this daemon reads from; null on clickup and gdrive daemons
|
|
71312
|
+
*/
|
|
71295
71313
|
owner: (string | null);
|
|
71314
|
+
/**
|
|
71315
|
+
* Branch the GitHub daemon reads, usually main; null on clickup and gdrive daemons
|
|
71316
|
+
*/
|
|
71296
71317
|
branch: (string | null);
|
|
71297
|
-
|
|
71318
|
+
/**
|
|
71319
|
+
* This daemon's source settings, shaped by `type`: github carries markdown/issues/pulls toggles and glob filters, gdrive carries docs/pdf/text toggles and recurse. Meant for display, not for binding a later step to.
|
|
71320
|
+
*/
|
|
71321
|
+
config?: {
|
|
71322
|
+
[k: string]: unknown;
|
|
71323
|
+
};
|
|
71324
|
+
/**
|
|
71325
|
+
* False while the daemon is paused — a paused daemon starts no runs and reingest requests against it clear paths but trigger nothing
|
|
71326
|
+
*/
|
|
71298
71327
|
enabled: boolean;
|
|
71328
|
+
/**
|
|
71329
|
+
* Which lane runs go to: 'hot' finishes in minutes, 'batch' queues the work with the model provider and can take hours
|
|
71330
|
+
*/
|
|
71299
71331
|
loadMode: string;
|
|
71332
|
+
/**
|
|
71333
|
+
* When this daemon last ran, as an ISO-8601 timestamp; null when it has never run
|
|
71334
|
+
*/
|
|
71300
71335
|
lastRunAt: (string | null);
|
|
71301
|
-
|
|
71336
|
+
/**
|
|
71337
|
+
* Summary the last run recorded, overwritten wholesale each run; null when the daemon has never run. Use brain_daemon_runs for the run history.
|
|
71338
|
+
*/
|
|
71339
|
+
lastResult?: {
|
|
71340
|
+
[k: string]: unknown;
|
|
71341
|
+
};
|
|
71342
|
+
/**
|
|
71343
|
+
* Id of the connector holding the credentials this daemon runs with; null on github daemons, which use the repo connection
|
|
71344
|
+
*/
|
|
71302
71345
|
connectorId: (string | null);
|
|
71303
|
-
|
|
71346
|
+
/**
|
|
71347
|
+
* Workspace, space, list, content toggles and chat channels for a clickup daemon; null for every other type
|
|
71348
|
+
*/
|
|
71349
|
+
clickupConfig?: {
|
|
71350
|
+
[k: string]: unknown;
|
|
71351
|
+
};
|
|
71352
|
+
/**
|
|
71353
|
+
* How many of this daemon's documents are known to have extracted incompletely, accumulated across all runs (the last run overwrites lastResult, this does not). 0 does NOT mean clean on its own — read it together with unmeasuredCount.
|
|
71354
|
+
*/
|
|
71304
71355
|
degradedCount: number;
|
|
71356
|
+
/**
|
|
71357
|
+
* The model this daemon ACTUALLY extracts with — `model` when it is pinned and still allowed, otherwise the platform default that Auto resolves to; null when nothing resolves. This is the one to report, not `model`.
|
|
71358
|
+
*/
|
|
71305
71359
|
effectiveModel: (string | null);
|
|
71360
|
+
/**
|
|
71361
|
+
* Authority tier stamped on the memories this daemon writes (highest→lowest: policy, official, team, informal); null means Auto — resolved per source category
|
|
71362
|
+
*/
|
|
71306
71363
|
sourceAuthority: (string | null);
|
|
71364
|
+
/**
|
|
71365
|
+
* How many of this daemon's documents nobody has measured: ingested before the check existed, or staged in a batch run that has not finished extracting. Unmeasured is NOT clean — while this is above 0, degradedCount is a floor, not a verdict, and the count drains itself as those documents are extracted.
|
|
71366
|
+
*/
|
|
71307
71367
|
unmeasuredCount: number;
|
|
71308
71368
|
}
|
|
71309
71369
|
export interface BrainDaemonGetInput {
|
|
@@ -71313,23 +71373,83 @@ export interface BrainDaemonGetInput {
|
|
|
71313
71373
|
id: string;
|
|
71314
71374
|
}
|
|
71315
71375
|
export interface BrainDaemonGetOutput {
|
|
71376
|
+
/**
|
|
71377
|
+
* Id of this ingestion daemon — the value every other daemon tool takes as `id`
|
|
71378
|
+
*/
|
|
71316
71379
|
id: string;
|
|
71380
|
+
/**
|
|
71381
|
+
* Operator-given label for this daemon; null when it was never named
|
|
71382
|
+
*/
|
|
71317
71383
|
name: (string | null);
|
|
71384
|
+
/**
|
|
71385
|
+
* GitHub repository this daemon reads from; null on clickup and gdrive daemons
|
|
71386
|
+
*/
|
|
71318
71387
|
repo: (string | null);
|
|
71388
|
+
/**
|
|
71389
|
+
* Which source this daemon ingests from: 'github', 'clickup' or 'gdrive'
|
|
71390
|
+
*/
|
|
71319
71391
|
type: string;
|
|
71392
|
+
/**
|
|
71393
|
+
* The model an operator PINNED on this daemon, not necessarily the one that runs; null means Auto. Read effectiveModel for what extraction actually uses.
|
|
71394
|
+
*/
|
|
71320
71395
|
model: (string | null);
|
|
71396
|
+
/**
|
|
71397
|
+
* GitHub owner (user or org) this daemon reads from; null on clickup and gdrive daemons
|
|
71398
|
+
*/
|
|
71321
71399
|
owner: (string | null);
|
|
71400
|
+
/**
|
|
71401
|
+
* Branch the GitHub daemon reads, usually main; null on clickup and gdrive daemons
|
|
71402
|
+
*/
|
|
71322
71403
|
branch: (string | null);
|
|
71323
|
-
|
|
71404
|
+
/**
|
|
71405
|
+
* This daemon's source settings, shaped by `type`: github carries markdown/issues/pulls toggles and glob filters, gdrive carries docs/pdf/text toggles and recurse. Meant for display, not for binding a later step to.
|
|
71406
|
+
*/
|
|
71407
|
+
config?: {
|
|
71408
|
+
[k: string]: unknown;
|
|
71409
|
+
};
|
|
71410
|
+
/**
|
|
71411
|
+
* False while the daemon is paused — a paused daemon starts no runs and reingest requests against it clear paths but trigger nothing
|
|
71412
|
+
*/
|
|
71324
71413
|
enabled: boolean;
|
|
71414
|
+
/**
|
|
71415
|
+
* Which lane runs go to: 'hot' finishes in minutes, 'batch' queues the work with the model provider and can take hours
|
|
71416
|
+
*/
|
|
71325
71417
|
loadMode: string;
|
|
71418
|
+
/**
|
|
71419
|
+
* When this daemon last ran, as an ISO-8601 timestamp; null when it has never run
|
|
71420
|
+
*/
|
|
71326
71421
|
lastRunAt: (string | null);
|
|
71327
|
-
|
|
71422
|
+
/**
|
|
71423
|
+
* Summary the last run recorded, overwritten wholesale each run; null when the daemon has never run. Use brain_daemon_runs for the run history.
|
|
71424
|
+
*/
|
|
71425
|
+
lastResult?: {
|
|
71426
|
+
[k: string]: unknown;
|
|
71427
|
+
};
|
|
71428
|
+
/**
|
|
71429
|
+
* Id of the connector holding the credentials this daemon runs with; null on github daemons, which use the repo connection
|
|
71430
|
+
*/
|
|
71328
71431
|
connectorId: (string | null);
|
|
71329
|
-
|
|
71432
|
+
/**
|
|
71433
|
+
* Workspace, space, list, content toggles and chat channels for a clickup daemon; null for every other type
|
|
71434
|
+
*/
|
|
71435
|
+
clickupConfig?: {
|
|
71436
|
+
[k: string]: unknown;
|
|
71437
|
+
};
|
|
71438
|
+
/**
|
|
71439
|
+
* How many of this daemon's documents are known to have extracted incompletely, accumulated across all runs (the last run overwrites lastResult, this does not). 0 does NOT mean clean on its own — read it together with unmeasuredCount.
|
|
71440
|
+
*/
|
|
71330
71441
|
degradedCount: number;
|
|
71442
|
+
/**
|
|
71443
|
+
* The model this daemon ACTUALLY extracts with — `model` when it is pinned and still allowed, otherwise the platform default that Auto resolves to; null when nothing resolves. This is the one to report, not `model`.
|
|
71444
|
+
*/
|
|
71331
71445
|
effectiveModel: (string | null);
|
|
71446
|
+
/**
|
|
71447
|
+
* Authority tier stamped on the memories this daemon writes (highest→lowest: policy, official, team, informal); null means Auto — resolved per source category
|
|
71448
|
+
*/
|
|
71332
71449
|
sourceAuthority: (string | null);
|
|
71450
|
+
/**
|
|
71451
|
+
* How many of this daemon's documents nobody has measured: ingested before the check existed, or staged in a batch run that has not finished extracting. Unmeasured is NOT clean — while this is above 0, degradedCount is a floor, not a verdict, and the count drains itself as those documents are extracted.
|
|
71452
|
+
*/
|
|
71333
71453
|
unmeasuredCount: number;
|
|
71334
71454
|
}
|
|
71335
71455
|
export interface BrainDaemonReingestInput {
|
|
@@ -71735,23 +71855,83 @@ export interface BrainDaemonUpdateOutput {
|
|
|
71735
71855
|
export interface BrainDaemonsListInput {
|
|
71736
71856
|
}
|
|
71737
71857
|
export type BrainDaemonsListOutput = {
|
|
71858
|
+
/**
|
|
71859
|
+
* Id of this ingestion daemon — the value every other daemon tool takes as `id`
|
|
71860
|
+
*/
|
|
71738
71861
|
id: string;
|
|
71862
|
+
/**
|
|
71863
|
+
* Operator-given label for this daemon; null when it was never named
|
|
71864
|
+
*/
|
|
71739
71865
|
name: (string | null);
|
|
71866
|
+
/**
|
|
71867
|
+
* GitHub repository this daemon reads from; null on clickup and gdrive daemons
|
|
71868
|
+
*/
|
|
71740
71869
|
repo: (string | null);
|
|
71870
|
+
/**
|
|
71871
|
+
* Which source this daemon ingests from: 'github', 'clickup' or 'gdrive'
|
|
71872
|
+
*/
|
|
71741
71873
|
type: string;
|
|
71874
|
+
/**
|
|
71875
|
+
* The model an operator PINNED on this daemon, not necessarily the one that runs; null means Auto. Read effectiveModel for what extraction actually uses.
|
|
71876
|
+
*/
|
|
71742
71877
|
model: (string | null);
|
|
71878
|
+
/**
|
|
71879
|
+
* GitHub owner (user or org) this daemon reads from; null on clickup and gdrive daemons
|
|
71880
|
+
*/
|
|
71743
71881
|
owner: (string | null);
|
|
71882
|
+
/**
|
|
71883
|
+
* Branch the GitHub daemon reads, usually main; null on clickup and gdrive daemons
|
|
71884
|
+
*/
|
|
71744
71885
|
branch: (string | null);
|
|
71745
|
-
|
|
71886
|
+
/**
|
|
71887
|
+
* This daemon's source settings, shaped by `type`: github carries markdown/issues/pulls toggles and glob filters, gdrive carries docs/pdf/text toggles and recurse. Meant for display, not for binding a later step to.
|
|
71888
|
+
*/
|
|
71889
|
+
config?: {
|
|
71890
|
+
[k: string]: unknown;
|
|
71891
|
+
};
|
|
71892
|
+
/**
|
|
71893
|
+
* False while the daemon is paused — a paused daemon starts no runs and reingest requests against it clear paths but trigger nothing
|
|
71894
|
+
*/
|
|
71746
71895
|
enabled: boolean;
|
|
71896
|
+
/**
|
|
71897
|
+
* Which lane runs go to: 'hot' finishes in minutes, 'batch' queues the work with the model provider and can take hours
|
|
71898
|
+
*/
|
|
71747
71899
|
loadMode: string;
|
|
71900
|
+
/**
|
|
71901
|
+
* When this daemon last ran, as an ISO-8601 timestamp; null when it has never run
|
|
71902
|
+
*/
|
|
71748
71903
|
lastRunAt: (string | null);
|
|
71749
|
-
|
|
71904
|
+
/**
|
|
71905
|
+
* Summary the last run recorded, overwritten wholesale each run; null when the daemon has never run. Use brain_daemon_runs for the run history.
|
|
71906
|
+
*/
|
|
71907
|
+
lastResult?: {
|
|
71908
|
+
[k: string]: unknown;
|
|
71909
|
+
};
|
|
71910
|
+
/**
|
|
71911
|
+
* Id of the connector holding the credentials this daemon runs with; null on github daemons, which use the repo connection
|
|
71912
|
+
*/
|
|
71750
71913
|
connectorId: (string | null);
|
|
71751
|
-
|
|
71914
|
+
/**
|
|
71915
|
+
* Workspace, space, list, content toggles and chat channels for a clickup daemon; null for every other type
|
|
71916
|
+
*/
|
|
71917
|
+
clickupConfig?: {
|
|
71918
|
+
[k: string]: unknown;
|
|
71919
|
+
};
|
|
71920
|
+
/**
|
|
71921
|
+
* How many of this daemon's documents are known to have extracted incompletely, accumulated across all runs (the last run overwrites lastResult, this does not). 0 does NOT mean clean on its own — read it together with unmeasuredCount.
|
|
71922
|
+
*/
|
|
71752
71923
|
degradedCount: number;
|
|
71924
|
+
/**
|
|
71925
|
+
* The model this daemon ACTUALLY extracts with — `model` when it is pinned and still allowed, otherwise the platform default that Auto resolves to; null when nothing resolves. This is the one to report, not `model`.
|
|
71926
|
+
*/
|
|
71753
71927
|
effectiveModel: (string | null);
|
|
71928
|
+
/**
|
|
71929
|
+
* Authority tier stamped on the memories this daemon writes (highest→lowest: policy, official, team, informal); null means Auto — resolved per source category
|
|
71930
|
+
*/
|
|
71754
71931
|
sourceAuthority: (string | null);
|
|
71932
|
+
/**
|
|
71933
|
+
* How many of this daemon's documents nobody has measured: ingested before the check existed, or staged in a batch run that has not finished extracting. Unmeasured is NOT clean — while this is above 0, degradedCount is a floor, not a verdict, and the count drains itself as those documents are extracted.
|
|
71934
|
+
*/
|
|
71755
71935
|
unmeasuredCount: number;
|
|
71756
71936
|
}[];
|
|
71757
71937
|
export interface BrainGdriveConnectionsListInput {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "81.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -219,5 +219,5 @@
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
|
-
"sdkContentHash": "sha256:
|
|
222
|
+
"sdkContentHash": "sha256:76b7b55b432e39ae9a2d079c477366414a00dbc8de552e51d392769827d63590"
|
|
223
223
|
}
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -65810,23 +65810,83 @@ sourceAuthority?: (("policy" | "official" | "team" | "informal") | null)
|
|
|
65810
65810
|
}
|
|
65811
65811
|
|
|
65812
65812
|
export interface BrainDaemonCreateOutput {
|
|
65813
|
+
/**
|
|
65814
|
+
* Id of this ingestion daemon — the value every other daemon tool takes as `id`
|
|
65815
|
+
*/
|
|
65813
65816
|
id: string
|
|
65817
|
+
/**
|
|
65818
|
+
* Operator-given label for this daemon; null when it was never named
|
|
65819
|
+
*/
|
|
65814
65820
|
name: (string | null)
|
|
65821
|
+
/**
|
|
65822
|
+
* GitHub repository this daemon reads from; null on clickup and gdrive daemons
|
|
65823
|
+
*/
|
|
65815
65824
|
repo: (string | null)
|
|
65825
|
+
/**
|
|
65826
|
+
* Which source this daemon ingests from: 'github', 'clickup' or 'gdrive'
|
|
65827
|
+
*/
|
|
65816
65828
|
type: string
|
|
65829
|
+
/**
|
|
65830
|
+
* The model an operator PINNED on this daemon, not necessarily the one that runs; null means Auto. Read effectiveModel for what extraction actually uses.
|
|
65831
|
+
*/
|
|
65817
65832
|
model: (string | null)
|
|
65833
|
+
/**
|
|
65834
|
+
* GitHub owner (user or org) this daemon reads from; null on clickup and gdrive daemons
|
|
65835
|
+
*/
|
|
65818
65836
|
owner: (string | null)
|
|
65837
|
+
/**
|
|
65838
|
+
* Branch the GitHub daemon reads, usually main; null on clickup and gdrive daemons
|
|
65839
|
+
*/
|
|
65819
65840
|
branch: (string | null)
|
|
65820
|
-
|
|
65841
|
+
/**
|
|
65842
|
+
* This daemon's source settings, shaped by `type`: github carries markdown/issues/pulls toggles and glob filters, gdrive carries docs/pdf/text toggles and recurse. Meant for display, not for binding a later step to.
|
|
65843
|
+
*/
|
|
65844
|
+
config?: {
|
|
65845
|
+
[k: string]: unknown
|
|
65846
|
+
}
|
|
65847
|
+
/**
|
|
65848
|
+
* False while the daemon is paused — a paused daemon starts no runs and reingest requests against it clear paths but trigger nothing
|
|
65849
|
+
*/
|
|
65821
65850
|
enabled: boolean
|
|
65851
|
+
/**
|
|
65852
|
+
* Which lane runs go to: 'hot' finishes in minutes, 'batch' queues the work with the model provider and can take hours
|
|
65853
|
+
*/
|
|
65822
65854
|
loadMode: string
|
|
65855
|
+
/**
|
|
65856
|
+
* When this daemon last ran, as an ISO-8601 timestamp; null when it has never run
|
|
65857
|
+
*/
|
|
65823
65858
|
lastRunAt: (string | null)
|
|
65824
|
-
|
|
65859
|
+
/**
|
|
65860
|
+
* Summary the last run recorded, overwritten wholesale each run; null when the daemon has never run. Use brain_daemon_runs for the run history.
|
|
65861
|
+
*/
|
|
65862
|
+
lastResult?: {
|
|
65863
|
+
[k: string]: unknown
|
|
65864
|
+
}
|
|
65865
|
+
/**
|
|
65866
|
+
* Id of the connector holding the credentials this daemon runs with; null on github daemons, which use the repo connection
|
|
65867
|
+
*/
|
|
65825
65868
|
connectorId: (string | null)
|
|
65826
|
-
|
|
65869
|
+
/**
|
|
65870
|
+
* Workspace, space, list, content toggles and chat channels for a clickup daemon; null for every other type
|
|
65871
|
+
*/
|
|
65872
|
+
clickupConfig?: {
|
|
65873
|
+
[k: string]: unknown
|
|
65874
|
+
}
|
|
65875
|
+
/**
|
|
65876
|
+
* How many of this daemon's documents are known to have extracted incompletely, accumulated across all runs (the last run overwrites lastResult, this does not). 0 does NOT mean clean on its own — read it together with unmeasuredCount.
|
|
65877
|
+
*/
|
|
65827
65878
|
degradedCount: number
|
|
65879
|
+
/**
|
|
65880
|
+
* The model this daemon ACTUALLY extracts with — `model` when it is pinned and still allowed, otherwise the platform default that Auto resolves to; null when nothing resolves. This is the one to report, not `model`.
|
|
65881
|
+
*/
|
|
65828
65882
|
effectiveModel: (string | null)
|
|
65883
|
+
/**
|
|
65884
|
+
* Authority tier stamped on the memories this daemon writes (highest→lowest: policy, official, team, informal); null means Auto — resolved per source category
|
|
65885
|
+
*/
|
|
65829
65886
|
sourceAuthority: (string | null)
|
|
65887
|
+
/**
|
|
65888
|
+
* How many of this daemon's documents nobody has measured: ingested before the check existed, or staged in a batch run that has not finished extracting. Unmeasured is NOT clean — while this is above 0, degradedCount is a floor, not a verdict, and the count drains itself as those documents are extracted.
|
|
65889
|
+
*/
|
|
65830
65890
|
unmeasuredCount: number
|
|
65831
65891
|
}
|
|
65832
65892
|
|
|
@@ -65838,23 +65898,83 @@ id: string
|
|
|
65838
65898
|
}
|
|
65839
65899
|
|
|
65840
65900
|
export interface BrainDaemonGetOutput {
|
|
65901
|
+
/**
|
|
65902
|
+
* Id of this ingestion daemon — the value every other daemon tool takes as `id`
|
|
65903
|
+
*/
|
|
65841
65904
|
id: string
|
|
65905
|
+
/**
|
|
65906
|
+
* Operator-given label for this daemon; null when it was never named
|
|
65907
|
+
*/
|
|
65842
65908
|
name: (string | null)
|
|
65909
|
+
/**
|
|
65910
|
+
* GitHub repository this daemon reads from; null on clickup and gdrive daemons
|
|
65911
|
+
*/
|
|
65843
65912
|
repo: (string | null)
|
|
65913
|
+
/**
|
|
65914
|
+
* Which source this daemon ingests from: 'github', 'clickup' or 'gdrive'
|
|
65915
|
+
*/
|
|
65844
65916
|
type: string
|
|
65917
|
+
/**
|
|
65918
|
+
* The model an operator PINNED on this daemon, not necessarily the one that runs; null means Auto. Read effectiveModel for what extraction actually uses.
|
|
65919
|
+
*/
|
|
65845
65920
|
model: (string | null)
|
|
65921
|
+
/**
|
|
65922
|
+
* GitHub owner (user or org) this daemon reads from; null on clickup and gdrive daemons
|
|
65923
|
+
*/
|
|
65846
65924
|
owner: (string | null)
|
|
65925
|
+
/**
|
|
65926
|
+
* Branch the GitHub daemon reads, usually main; null on clickup and gdrive daemons
|
|
65927
|
+
*/
|
|
65847
65928
|
branch: (string | null)
|
|
65848
|
-
|
|
65929
|
+
/**
|
|
65930
|
+
* This daemon's source settings, shaped by `type`: github carries markdown/issues/pulls toggles and glob filters, gdrive carries docs/pdf/text toggles and recurse. Meant for display, not for binding a later step to.
|
|
65931
|
+
*/
|
|
65932
|
+
config?: {
|
|
65933
|
+
[k: string]: unknown
|
|
65934
|
+
}
|
|
65935
|
+
/**
|
|
65936
|
+
* False while the daemon is paused — a paused daemon starts no runs and reingest requests against it clear paths but trigger nothing
|
|
65937
|
+
*/
|
|
65849
65938
|
enabled: boolean
|
|
65939
|
+
/**
|
|
65940
|
+
* Which lane runs go to: 'hot' finishes in minutes, 'batch' queues the work with the model provider and can take hours
|
|
65941
|
+
*/
|
|
65850
65942
|
loadMode: string
|
|
65943
|
+
/**
|
|
65944
|
+
* When this daemon last ran, as an ISO-8601 timestamp; null when it has never run
|
|
65945
|
+
*/
|
|
65851
65946
|
lastRunAt: (string | null)
|
|
65852
|
-
|
|
65947
|
+
/**
|
|
65948
|
+
* Summary the last run recorded, overwritten wholesale each run; null when the daemon has never run. Use brain_daemon_runs for the run history.
|
|
65949
|
+
*/
|
|
65950
|
+
lastResult?: {
|
|
65951
|
+
[k: string]: unknown
|
|
65952
|
+
}
|
|
65953
|
+
/**
|
|
65954
|
+
* Id of the connector holding the credentials this daemon runs with; null on github daemons, which use the repo connection
|
|
65955
|
+
*/
|
|
65853
65956
|
connectorId: (string | null)
|
|
65854
|
-
|
|
65957
|
+
/**
|
|
65958
|
+
* Workspace, space, list, content toggles and chat channels for a clickup daemon; null for every other type
|
|
65959
|
+
*/
|
|
65960
|
+
clickupConfig?: {
|
|
65961
|
+
[k: string]: unknown
|
|
65962
|
+
}
|
|
65963
|
+
/**
|
|
65964
|
+
* How many of this daemon's documents are known to have extracted incompletely, accumulated across all runs (the last run overwrites lastResult, this does not). 0 does NOT mean clean on its own — read it together with unmeasuredCount.
|
|
65965
|
+
*/
|
|
65855
65966
|
degradedCount: number
|
|
65967
|
+
/**
|
|
65968
|
+
* The model this daemon ACTUALLY extracts with — `model` when it is pinned and still allowed, otherwise the platform default that Auto resolves to; null when nothing resolves. This is the one to report, not `model`.
|
|
65969
|
+
*/
|
|
65856
65970
|
effectiveModel: (string | null)
|
|
65971
|
+
/**
|
|
65972
|
+
* Authority tier stamped on the memories this daemon writes (highest→lowest: policy, official, team, informal); null means Auto — resolved per source category
|
|
65973
|
+
*/
|
|
65857
65974
|
sourceAuthority: (string | null)
|
|
65975
|
+
/**
|
|
65976
|
+
* How many of this daemon's documents nobody has measured: ingested before the check existed, or staged in a batch run that has not finished extracting. Unmeasured is NOT clean — while this is above 0, degradedCount is a floor, not a verdict, and the count drains itself as those documents are extracted.
|
|
65977
|
+
*/
|
|
65858
65978
|
unmeasuredCount: number
|
|
65859
65979
|
}
|
|
65860
65980
|
|
|
@@ -66277,23 +66397,83 @@ export interface BrainDaemonsListInput {
|
|
|
66277
66397
|
}
|
|
66278
66398
|
|
|
66279
66399
|
export type BrainDaemonsListOutput = {
|
|
66400
|
+
/**
|
|
66401
|
+
* Id of this ingestion daemon — the value every other daemon tool takes as `id`
|
|
66402
|
+
*/
|
|
66280
66403
|
id: string
|
|
66404
|
+
/**
|
|
66405
|
+
* Operator-given label for this daemon; null when it was never named
|
|
66406
|
+
*/
|
|
66281
66407
|
name: (string | null)
|
|
66408
|
+
/**
|
|
66409
|
+
* GitHub repository this daemon reads from; null on clickup and gdrive daemons
|
|
66410
|
+
*/
|
|
66282
66411
|
repo: (string | null)
|
|
66412
|
+
/**
|
|
66413
|
+
* Which source this daemon ingests from: 'github', 'clickup' or 'gdrive'
|
|
66414
|
+
*/
|
|
66283
66415
|
type: string
|
|
66416
|
+
/**
|
|
66417
|
+
* The model an operator PINNED on this daemon, not necessarily the one that runs; null means Auto. Read effectiveModel for what extraction actually uses.
|
|
66418
|
+
*/
|
|
66284
66419
|
model: (string | null)
|
|
66420
|
+
/**
|
|
66421
|
+
* GitHub owner (user or org) this daemon reads from; null on clickup and gdrive daemons
|
|
66422
|
+
*/
|
|
66285
66423
|
owner: (string | null)
|
|
66424
|
+
/**
|
|
66425
|
+
* Branch the GitHub daemon reads, usually main; null on clickup and gdrive daemons
|
|
66426
|
+
*/
|
|
66286
66427
|
branch: (string | null)
|
|
66287
|
-
|
|
66428
|
+
/**
|
|
66429
|
+
* This daemon's source settings, shaped by `type`: github carries markdown/issues/pulls toggles and glob filters, gdrive carries docs/pdf/text toggles and recurse. Meant for display, not for binding a later step to.
|
|
66430
|
+
*/
|
|
66431
|
+
config?: {
|
|
66432
|
+
[k: string]: unknown
|
|
66433
|
+
}
|
|
66434
|
+
/**
|
|
66435
|
+
* False while the daemon is paused — a paused daemon starts no runs and reingest requests against it clear paths but trigger nothing
|
|
66436
|
+
*/
|
|
66288
66437
|
enabled: boolean
|
|
66438
|
+
/**
|
|
66439
|
+
* Which lane runs go to: 'hot' finishes in minutes, 'batch' queues the work with the model provider and can take hours
|
|
66440
|
+
*/
|
|
66289
66441
|
loadMode: string
|
|
66442
|
+
/**
|
|
66443
|
+
* When this daemon last ran, as an ISO-8601 timestamp; null when it has never run
|
|
66444
|
+
*/
|
|
66290
66445
|
lastRunAt: (string | null)
|
|
66291
|
-
|
|
66446
|
+
/**
|
|
66447
|
+
* Summary the last run recorded, overwritten wholesale each run; null when the daemon has never run. Use brain_daemon_runs for the run history.
|
|
66448
|
+
*/
|
|
66449
|
+
lastResult?: {
|
|
66450
|
+
[k: string]: unknown
|
|
66451
|
+
}
|
|
66452
|
+
/**
|
|
66453
|
+
* Id of the connector holding the credentials this daemon runs with; null on github daemons, which use the repo connection
|
|
66454
|
+
*/
|
|
66292
66455
|
connectorId: (string | null)
|
|
66293
|
-
|
|
66456
|
+
/**
|
|
66457
|
+
* Workspace, space, list, content toggles and chat channels for a clickup daemon; null for every other type
|
|
66458
|
+
*/
|
|
66459
|
+
clickupConfig?: {
|
|
66460
|
+
[k: string]: unknown
|
|
66461
|
+
}
|
|
66462
|
+
/**
|
|
66463
|
+
* How many of this daemon's documents are known to have extracted incompletely, accumulated across all runs (the last run overwrites lastResult, this does not). 0 does NOT mean clean on its own — read it together with unmeasuredCount.
|
|
66464
|
+
*/
|
|
66294
66465
|
degradedCount: number
|
|
66466
|
+
/**
|
|
66467
|
+
* The model this daemon ACTUALLY extracts with — `model` when it is pinned and still allowed, otherwise the platform default that Auto resolves to; null when nothing resolves. This is the one to report, not `model`.
|
|
66468
|
+
*/
|
|
66295
66469
|
effectiveModel: (string | null)
|
|
66470
|
+
/**
|
|
66471
|
+
* Authority tier stamped on the memories this daemon writes (highest→lowest: policy, official, team, informal); null means Auto — resolved per source category
|
|
66472
|
+
*/
|
|
66296
66473
|
sourceAuthority: (string | null)
|
|
66474
|
+
/**
|
|
66475
|
+
* How many of this daemon's documents nobody has measured: ingested before the check existed, or staged in a batch run that has not finished extracting. Unmeasured is NOT clean — while this is above 0, degradedCount is a floor, not a verdict, and the count drains itself as those documents are extracted.
|
|
66476
|
+
*/
|
|
66297
66477
|
unmeasuredCount: number
|
|
66298
66478
|
}[]
|
|
66299
66479
|
|