@deskcreate/agentcraft
Preparing search index...
index
FileSystemAnalyticsHistoryStore
Class FileSystemAnalyticsHistoryStore
Index
Constructors
constructor
Properties
root
Methods
save
Experiment
Plan
save
Experiment
Result
save
Performance
Report
snapshot
summarize
Insights
Constructors
constructor
new
FileSystemAnalyticsHistoryStore
(
root
?:
string
,
)
:
FileSystemAnalyticsHistoryStore
Parameters
root
:
string
= 'content/analytics-history'
Returns
FileSystemAnalyticsHistoryStore
Properties
Readonly
root
root
:
string
Methods
save
Experiment
Plan
saveExperimentPlan
(
plan
:
{
createdAt
:
string
;
id
:
string
;
inputs
:
string
[]
;
provenance
:
{
kind
:
"model"
|
"user"
|
"tool"
|
"file"
;
ref
:
string
}
[]
;
sourceSkill
:
string
;
status
:
|
"draft"
|
"reviewed"
|
"verified"
|
"blocked"
|
"published"
|
"archived"
;
title
?:
string
;
type
:
string
;
}
,
)
:
Promise
<
{
createdAt
:
string
;
id
:
string
;
inputs
:
string
[]
;
provenance
:
{
kind
:
"model"
|
"user"
|
"tool"
|
"file"
;
ref
:
string
}
[]
;
sourceSkill
:
string
;
status
:
|
"draft"
|
"reviewed"
|
"verified"
|
"blocked"
|
"published"
|
"archived"
;
title
?:
string
;
type
:
string
;
}
,
>
Parameters
plan
:
{
createdAt
:
string
;
id
:
string
;
inputs
:
string
[]
;
provenance
:
{
kind
:
"model"
|
"user"
|
"tool"
|
"file"
;
ref
:
string
}
[]
;
sourceSkill
:
string
;
status
:
|
"draft"
|
"reviewed"
|
"verified"
|
"blocked"
|
"published"
|
"archived"
;
title
?:
string
;
type
:
string
;
}
Returns
Promise
<
{
createdAt
:
string
;
id
:
string
;
inputs
:
string
[]
;
provenance
:
{
kind
:
"model"
|
"user"
|
"tool"
|
"file"
;
ref
:
string
}
[]
;
sourceSkill
:
string
;
status
:
|
"draft"
|
"reviewed"
|
"verified"
|
"blocked"
|
"published"
|
"archived"
;
title
?:
string
;
type
:
string
;
}
,
>
save
Experiment
Result
saveExperimentResult
(
result
:
Omit
<
ExperimentResult
,
"observedAt"
>
,
)
:
Promise
<
ExperimentResult
>
Parameters
result
:
Omit
<
ExperimentResult
,
"observedAt"
>
Returns
Promise
<
ExperimentResult
>
save
Performance
Report
savePerformanceReport
(
report
:
{
createdAt
:
string
;
id
:
string
;
inputs
:
string
[]
;
provenance
:
{
kind
:
"model"
|
"user"
|
"tool"
|
"file"
;
ref
:
string
}
[]
;
sourceSkill
:
string
;
status
:
|
"draft"
|
"reviewed"
|
"verified"
|
"blocked"
|
"published"
|
"archived"
;
title
?:
string
;
type
:
string
;
}
,
)
:
Promise
<
{
createdAt
:
string
;
id
:
string
;
inputs
:
string
[]
;
provenance
:
{
kind
:
"model"
|
"user"
|
"tool"
|
"file"
;
ref
:
string
}
[]
;
sourceSkill
:
string
;
status
:
|
"draft"
|
"reviewed"
|
"verified"
|
"blocked"
|
"published"
|
"archived"
;
title
?:
string
;
type
:
string
;
}
,
>
Parameters
report
:
{
createdAt
:
string
;
id
:
string
;
inputs
:
string
[]
;
provenance
:
{
kind
:
"model"
|
"user"
|
"tool"
|
"file"
;
ref
:
string
}
[]
;
sourceSkill
:
string
;
status
:
|
"draft"
|
"reviewed"
|
"verified"
|
"blocked"
|
"published"
|
"archived"
;
title
?:
string
;
type
:
string
;
}
Returns
Promise
<
{
createdAt
:
string
;
id
:
string
;
inputs
:
string
[]
;
provenance
:
{
kind
:
"model"
|
"user"
|
"tool"
|
"file"
;
ref
:
string
}
[]
;
sourceSkill
:
string
;
status
:
|
"draft"
|
"reviewed"
|
"verified"
|
"blocked"
|
"published"
|
"archived"
;
title
?:
string
;
type
:
string
;
}
,
>
snapshot
snapshot
()
:
Promise
<
AnalyticsHistorySnapshot
>
Returns
Promise
<
AnalyticsHistorySnapshot
>
summarize
Insights
summarizeInsights
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
root
Methods
save
Experiment
Plan
save
Experiment
Result
save
Performance
Report
snapshot
summarize
Insights
@deskcreate/agentcraft
Loading...