@dagger.io/dagger 0.17.0 → 0.17.2

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.
@@ -615,6 +615,16 @@ export type DirectoryExportOpts = {
615
615
  */
616
616
  wipe?: boolean;
617
617
  };
618
+ export type DirectoryFilterOpts = {
619
+ /**
620
+ * Exclude artifacts that match the given pattern (e.g., ["node_modules/", ".git*"]).
621
+ */
622
+ exclude?: string[];
623
+ /**
624
+ * Include only artifacts that match the given pattern (e.g., ["app/", "package.*"]).
625
+ */
626
+ include?: string[];
627
+ };
618
628
  export type DirectoryTerminalOpts = {
619
629
  /**
620
630
  * If set, override the container's default terminal command and invoke these command arguments instead.
@@ -917,6 +927,12 @@ export type JSON = string & {
917
927
  export type LLMID = string & {
918
928
  __LLMID: never;
919
929
  };
930
+ /**
931
+ * The `LLMTokenUsageID` scalar type represents an identifier for an object of type LLMTokenUsage.
932
+ */
933
+ export type LLMTokenUsageID = string & {
934
+ __LLMTokenUsageID: never;
935
+ };
920
936
  /**
921
937
  * The `LLMVariableID` scalar type represents an identifier for an object of type LLMVariable.
922
938
  */
@@ -2014,6 +2030,12 @@ export declare class Directory extends BaseClient {
2014
2030
  * @param path Location of the file to retrieve (e.g., "README.md").
2015
2031
  */
2016
2032
  file: (path: string) => File;
2033
+ /**
2034
+ * Retrieves this directory as per exclude/include filters.
2035
+ * @param opts.exclude Exclude artifacts that match the given pattern (e.g., ["node_modules/", ".git*"]).
2036
+ * @param opts.include Include only artifacts that match the given pattern (e.g., ["app/", "package.*"]).
2037
+ */
2038
+ filter: (opts?: DirectoryFilterOpts) => Directory;
2017
2039
  /**
2018
2040
  * Returns a list of files and directories that matche the given pattern.
2019
2041
  * @param pattern Pattern to match (e.g., "*.md").
@@ -2901,6 +2923,7 @@ export declare class InterfaceTypeDef extends BaseClient {
2901
2923
  }
2902
2924
  export declare class LLM extends BaseClient {
2903
2925
  private readonly _id?;
2926
+ private readonly _currentType?;
2904
2927
  private readonly _getString?;
2905
2928
  private readonly _historyJSON?;
2906
2929
  private readonly _lastReply?;
@@ -2911,84 +2934,77 @@ export declare class LLM extends BaseClient {
2911
2934
  /**
2912
2935
  * Constructor is used for internal usage only, do not create object from it.
2913
2936
  */
2914
- constructor(ctx?: Context, _id?: LLMID, _getString?: string, _historyJSON?: string, _lastReply?: string, _model?: string, _provider?: string, _sync?: LLMID, _tools?: string);
2937
+ constructor(ctx?: Context, _id?: LLMID, _currentType?: string, _getString?: string, _historyJSON?: string, _lastReply?: string, _model?: string, _provider?: string, _sync?: LLMID, _tools?: string);
2915
2938
  /**
2916
2939
  * A unique identifier for this LLM.
2917
2940
  */
2918
2941
  id: () => Promise<LLMID>;
2942
+ /**
2943
+ * create a branch in the LLM's history
2944
+ */
2945
+ attempt: (number_: number) => LLM;
2919
2946
  /**
2920
2947
  * Retrieve a the current value in the LLM environment, of type CacheVolume
2921
- * @deprecated use get<TargetType> instead
2922
2948
  */
2923
2949
  cacheVolume: () => CacheVolume;
2924
2950
  /**
2925
2951
  * Retrieve a the current value in the LLM environment, of type Container
2926
- * @deprecated use get<TargetType> instead
2927
2952
  */
2928
2953
  container: () => Container;
2929
2954
  /**
2930
2955
  * Retrieve a the current value in the LLM environment, of type CurrentModule
2931
- * @deprecated use get<TargetType> instead
2932
2956
  */
2933
2957
  currentModule: () => CurrentModule;
2958
+ /**
2959
+ * returns the type of the current state
2960
+ */
2961
+ currentType: () => Promise<string>;
2934
2962
  /**
2935
2963
  * Retrieve a the current value in the LLM environment, of type Directory
2936
- * @deprecated use get<TargetType> instead
2937
2964
  */
2938
2965
  directory: () => Directory;
2939
2966
  /**
2940
2967
  * Retrieve a the current value in the LLM environment, of type EnumTypeDef
2941
- * @deprecated use get<TargetType> instead
2942
2968
  */
2943
2969
  enumTypeDef: () => EnumTypeDef;
2944
2970
  /**
2945
2971
  * Retrieve a the current value in the LLM environment, of type EnumValueTypeDef
2946
- * @deprecated use get<TargetType> instead
2947
2972
  */
2948
2973
  enumValueTypeDef: () => EnumValueTypeDef;
2949
2974
  /**
2950
2975
  * Retrieve a the current value in the LLM environment, of type Error
2951
- * @deprecated use get<TargetType> instead
2952
2976
  */
2953
2977
  error: () => Error;
2954
2978
  /**
2955
2979
  * Retrieve a the current value in the LLM environment, of type ErrorValue
2956
- * @deprecated use get<TargetType> instead
2957
2980
  */
2958
2981
  errorValue: () => ErrorValue;
2959
2982
  /**
2960
2983
  * Retrieve a the current value in the LLM environment, of type FieldTypeDef
2961
- * @deprecated use get<TargetType> instead
2962
2984
  */
2963
2985
  fieldTypeDef: () => FieldTypeDef;
2964
2986
  /**
2965
2987
  * Retrieve a the current value in the LLM environment, of type File
2966
- * @deprecated use get<TargetType> instead
2967
2988
  */
2968
2989
  file: () => File;
2969
2990
  /**
2970
2991
  * Retrieve a the current value in the LLM environment, of type Function
2971
- * @deprecated use get<TargetType> instead
2972
2992
  */
2973
2993
  function_: () => Function_;
2974
2994
  /**
2975
2995
  * Retrieve a the current value in the LLM environment, of type FunctionArg
2976
- * @deprecated use get<TargetType> instead
2977
2996
  */
2978
2997
  functionArg: () => FunctionArg;
2979
2998
  /**
2980
2999
  * Retrieve a the current value in the LLM environment, of type FunctionCall
2981
- * @deprecated use get<TargetType> instead
2982
3000
  */
2983
3001
  functionCall: () => FunctionCall;
2984
3002
  /**
2985
3003
  * Retrieve a the current value in the LLM environment, of type FunctionCallArgValue
2986
- * @deprecated use get<TargetType> instead
2987
3004
  */
2988
3005
  functionCallArgValue: () => FunctionCallArgValue;
2989
3006
  /**
2990
3007
  * Retrieve a the current value in the LLM environment, of type GeneratedCode
2991
- * @deprecated use get<TargetType> instead
2992
3008
  */
2993
3009
  generatedCode: () => GeneratedCode;
2994
3010
  /**
@@ -3163,12 +3179,10 @@ export declare class LLM extends BaseClient {
3163
3179
  getTypeDef: (name: string) => TypeDef;
3164
3180
  /**
3165
3181
  * Retrieve a the current value in the LLM environment, of type GitRef
3166
- * @deprecated use get<TargetType> instead
3167
3182
  */
3168
3183
  gitRef: () => GitRef;
3169
3184
  /**
3170
3185
  * Retrieve a the current value in the LLM environment, of type GitRepository
3171
- * @deprecated use get<TargetType> instead
3172
3186
  */
3173
3187
  gitRepository: () => GitRepository;
3174
3188
  /**
@@ -3181,17 +3195,14 @@ export declare class LLM extends BaseClient {
3181
3195
  historyJSON: () => Promise<string>;
3182
3196
  /**
3183
3197
  * Retrieve a the current value in the LLM environment, of type InputTypeDef
3184
- * @deprecated use get<TargetType> instead
3185
3198
  */
3186
3199
  inputTypeDef: () => InputTypeDef;
3187
3200
  /**
3188
3201
  * Retrieve a the current value in the LLM environment, of type InterfaceTypeDef
3189
- * @deprecated use get<TargetType> instead
3190
3202
  */
3191
3203
  interfaceTypeDef: () => InterfaceTypeDef;
3192
3204
  /**
3193
3205
  * Retrieve a the current value in the LLM environment, of type LLM
3194
- * @deprecated use get<TargetType> instead
3195
3206
  */
3196
3207
  lLM: () => LLM;
3197
3208
  /**
@@ -3200,12 +3211,10 @@ export declare class LLM extends BaseClient {
3200
3211
  lastReply: () => Promise<string>;
3201
3212
  /**
3202
3213
  * Retrieve a the current value in the LLM environment, of type ListTypeDef
3203
- * @deprecated use get<TargetType> instead
3204
3214
  */
3205
3215
  listTypeDef: () => ListTypeDef;
3206
3216
  /**
3207
3217
  * synchronize LLM state
3208
- * @deprecated use sync
3209
3218
  */
3210
3219
  loop: () => LLM;
3211
3220
  /**
@@ -3214,22 +3223,18 @@ export declare class LLM extends BaseClient {
3214
3223
  model: () => Promise<string>;
3215
3224
  /**
3216
3225
  * Retrieve a the current value in the LLM environment, of type Module
3217
- * @deprecated use get<TargetType> instead
3218
3226
  */
3219
3227
  module_: () => Module_;
3220
3228
  /**
3221
3229
  * Retrieve a the current value in the LLM environment, of type ModuleConfigClient
3222
- * @deprecated use get<TargetType> instead
3223
3230
  */
3224
3231
  moduleConfigClient: () => ModuleConfigClient;
3225
3232
  /**
3226
3233
  * Retrieve a the current value in the LLM environment, of type ModuleSource
3227
- * @deprecated use get<TargetType> instead
3228
3234
  */
3229
3235
  moduleSource: () => ModuleSource;
3230
3236
  /**
3231
3237
  * Retrieve a the current value in the LLM environment, of type ObjectTypeDef
3232
- * @deprecated use get<TargetType> instead
3233
3238
  */
3234
3239
  objectTypeDef: () => ObjectTypeDef;
3235
3240
  /**
@@ -3238,22 +3243,18 @@ export declare class LLM extends BaseClient {
3238
3243
  provider: () => Promise<string>;
3239
3244
  /**
3240
3245
  * Retrieve a the current value in the LLM environment, of type ScalarTypeDef
3241
- * @deprecated use get<TargetType> instead
3242
3246
  */
3243
3247
  scalarTypeDef: () => ScalarTypeDef;
3244
3248
  /**
3245
3249
  * Retrieve a the current value in the LLM environment, of type SDKConfig
3246
- * @deprecated use get<TargetType> instead
3247
3250
  */
3248
3251
  sdkconfig: () => SDKConfig;
3249
3252
  /**
3250
3253
  * Retrieve a the current value in the LLM environment, of type Secret
3251
- * @deprecated use get<TargetType> instead
3252
3254
  */
3253
3255
  secret: () => Secret;
3254
3256
  /**
3255
3257
  * Retrieve a the current value in the LLM environment, of type Service
3256
- * @deprecated use get<TargetType> instead
3257
3258
  */
3258
3259
  service: () => Service;
3259
3260
  /**
@@ -3462,12 +3463,10 @@ export declare class LLM extends BaseClient {
3462
3463
  setTypeDef: (name: string, value: TypeDef) => LLM;
3463
3464
  /**
3464
3465
  * Retrieve a the current value in the LLM environment, of type Socket
3465
- * @deprecated use get<TargetType> instead
3466
3466
  */
3467
3467
  socket: () => Socket;
3468
3468
  /**
3469
3469
  * Retrieve a the current value in the LLM environment, of type SourceMap
3470
- * @deprecated use get<TargetType> instead
3471
3470
  */
3472
3471
  sourceMap: () => SourceMap;
3473
3472
  /**
@@ -3476,16 +3475,18 @@ export declare class LLM extends BaseClient {
3476
3475
  sync: () => Promise<LLM>;
3477
3476
  /**
3478
3477
  * Retrieve a the current value in the LLM environment, of type Terminal
3479
- * @deprecated use get<TargetType> instead
3480
3478
  */
3481
3479
  terminal: () => Terminal;
3480
+ /**
3481
+ * returns the token usage of the current state
3482
+ */
3483
+ tokenUsage: () => LLMTokenUsage;
3482
3484
  /**
3483
3485
  * print documentation for available tools
3484
3486
  */
3485
3487
  tools: () => Promise<string>;
3486
3488
  /**
3487
3489
  * Retrieve a the current value in the LLM environment, of type TypeDef
3488
- * @deprecated use get<TargetType> instead
3489
3490
  */
3490
3491
  typeDef: () => TypeDef;
3491
3492
  /**
@@ -3495,127 +3496,106 @@ export declare class LLM extends BaseClient {
3495
3496
  /**
3496
3497
  * Set a variable of type CacheVolume in the llm environment
3497
3498
  * @param value The CacheVolume value to assign to the variable
3498
- * @deprecated use set<TargetType> instead
3499
3499
  */
3500
3500
  withCacheVolume: (value: CacheVolume) => LLM;
3501
3501
  /**
3502
3502
  * Set a variable of type Container in the llm environment
3503
3503
  * @param value The Container value to assign to the variable
3504
- * @deprecated use set<TargetType> instead
3505
3504
  */
3506
3505
  withContainer: (value: Container) => LLM;
3507
3506
  /**
3508
3507
  * Set a variable of type CurrentModule in the llm environment
3509
3508
  * @param value The CurrentModule value to assign to the variable
3510
- * @deprecated use set<TargetType> instead
3511
3509
  */
3512
3510
  withCurrentModule: (value: CurrentModule) => LLM;
3513
3511
  /**
3514
3512
  * Set a variable of type Directory in the llm environment
3515
3513
  * @param value The Directory value to assign to the variable
3516
- * @deprecated use set<TargetType> instead
3517
3514
  */
3518
3515
  withDirectory: (value: Directory) => LLM;
3519
3516
  /**
3520
3517
  * Set a variable of type EnumTypeDef in the llm environment
3521
3518
  * @param value The EnumTypeDef value to assign to the variable
3522
- * @deprecated use set<TargetType> instead
3523
3519
  */
3524
3520
  withEnumTypeDef: (value: EnumTypeDef) => LLM;
3525
3521
  /**
3526
3522
  * Set a variable of type EnumValueTypeDef in the llm environment
3527
3523
  * @param value The EnumValueTypeDef value to assign to the variable
3528
- * @deprecated use set<TargetType> instead
3529
3524
  */
3530
3525
  withEnumValueTypeDef: (value: EnumValueTypeDef) => LLM;
3531
3526
  /**
3532
3527
  * Set a variable of type Error in the llm environment
3533
3528
  * @param value The Error value to assign to the variable
3534
- * @deprecated use set<TargetType> instead
3535
3529
  */
3536
3530
  withError: (value: Error) => LLM;
3537
3531
  /**
3538
3532
  * Set a variable of type ErrorValue in the llm environment
3539
3533
  * @param value The ErrorValue value to assign to the variable
3540
- * @deprecated use set<TargetType> instead
3541
3534
  */
3542
3535
  withErrorValue: (value: ErrorValue) => LLM;
3543
3536
  /**
3544
3537
  * Set a variable of type FieldTypeDef in the llm environment
3545
3538
  * @param value The FieldTypeDef value to assign to the variable
3546
- * @deprecated use set<TargetType> instead
3547
3539
  */
3548
3540
  withFieldTypeDef: (value: FieldTypeDef) => LLM;
3549
3541
  /**
3550
3542
  * Set a variable of type File in the llm environment
3551
3543
  * @param value The File value to assign to the variable
3552
- * @deprecated use set<TargetType> instead
3553
3544
  */
3554
3545
  withFile: (value: File) => LLM;
3555
3546
  /**
3556
3547
  * Set a variable of type Function in the llm environment
3557
3548
  * @param value The Function value to assign to the variable
3558
- * @deprecated use set<TargetType> instead
3559
3549
  */
3560
3550
  withFunction: (value: Function_) => LLM;
3561
3551
  /**
3562
3552
  * Set a variable of type FunctionArg in the llm environment
3563
3553
  * @param value The FunctionArg value to assign to the variable
3564
- * @deprecated use set<TargetType> instead
3565
3554
  */
3566
3555
  withFunctionArg: (value: FunctionArg) => LLM;
3567
3556
  /**
3568
3557
  * Set a variable of type FunctionCall in the llm environment
3569
3558
  * @param value The FunctionCall value to assign to the variable
3570
- * @deprecated use set<TargetType> instead
3571
3559
  */
3572
3560
  withFunctionCall: (value: FunctionCall) => LLM;
3573
3561
  /**
3574
3562
  * Set a variable of type FunctionCallArgValue in the llm environment
3575
3563
  * @param value The FunctionCallArgValue value to assign to the variable
3576
- * @deprecated use set<TargetType> instead
3577
3564
  */
3578
3565
  withFunctionCallArgValue: (value: FunctionCallArgValue) => LLM;
3579
3566
  /**
3580
3567
  * Set a variable of type GeneratedCode in the llm environment
3581
3568
  * @param value The GeneratedCode value to assign to the variable
3582
- * @deprecated use set<TargetType> instead
3583
3569
  */
3584
3570
  withGeneratedCode: (value: GeneratedCode) => LLM;
3585
3571
  /**
3586
3572
  * Set a variable of type GitRef in the llm environment
3587
3573
  * @param value The GitRef value to assign to the variable
3588
- * @deprecated use set<TargetType> instead
3589
3574
  */
3590
3575
  withGitRef: (value: GitRef) => LLM;
3591
3576
  /**
3592
3577
  * Set a variable of type GitRepository in the llm environment
3593
3578
  * @param value The GitRepository value to assign to the variable
3594
- * @deprecated use set<TargetType> instead
3595
3579
  */
3596
3580
  withGitRepository: (value: GitRepository) => LLM;
3597
3581
  /**
3598
3582
  * Set a variable of type InputTypeDef in the llm environment
3599
3583
  * @param value The InputTypeDef value to assign to the variable
3600
- * @deprecated use set<TargetType> instead
3601
3584
  */
3602
3585
  withInputTypeDef: (value: InputTypeDef) => LLM;
3603
3586
  /**
3604
3587
  * Set a variable of type InterfaceTypeDef in the llm environment
3605
3588
  * @param value The InterfaceTypeDef value to assign to the variable
3606
- * @deprecated use set<TargetType> instead
3607
3589
  */
3608
3590
  withInterfaceTypeDef: (value: InterfaceTypeDef) => LLM;
3609
3591
  /**
3610
3592
  * Set a variable of type LLM in the llm environment
3611
3593
  * @param value The LLM value to assign to the variable
3612
- * @deprecated use set<TargetType> instead
3613
3594
  */
3614
3595
  withLLM: (value: LLM) => LLM;
3615
3596
  /**
3616
3597
  * Set a variable of type ListTypeDef in the llm environment
3617
3598
  * @param value The ListTypeDef value to assign to the variable
3618
- * @deprecated use set<TargetType> instead
3619
3599
  */
3620
3600
  withListTypeDef: (value: ListTypeDef) => LLM;
3621
3601
  /**
@@ -3626,25 +3606,21 @@ export declare class LLM extends BaseClient {
3626
3606
  /**
3627
3607
  * Set a variable of type Module in the llm environment
3628
3608
  * @param value The Module value to assign to the variable
3629
- * @deprecated use set<TargetType> instead
3630
3609
  */
3631
3610
  withModule: (value: Module_) => LLM;
3632
3611
  /**
3633
3612
  * Set a variable of type ModuleConfigClient in the llm environment
3634
3613
  * @param value The ModuleConfigClient value to assign to the variable
3635
- * @deprecated use set<TargetType> instead
3636
3614
  */
3637
3615
  withModuleConfigClient: (value: ModuleConfigClient) => LLM;
3638
3616
  /**
3639
3617
  * Set a variable of type ModuleSource in the llm environment
3640
3618
  * @param value The ModuleSource value to assign to the variable
3641
- * @deprecated use set<TargetType> instead
3642
3619
  */
3643
3620
  withModuleSource: (value: ModuleSource) => LLM;
3644
3621
  /**
3645
3622
  * Set a variable of type ObjectTypeDef in the llm environment
3646
3623
  * @param value The ObjectTypeDef value to assign to the variable
3647
- * @deprecated use set<TargetType> instead
3648
3624
  */
3649
3625
  withObjectTypeDef: (value: ObjectTypeDef) => LLM;
3650
3626
  /**
@@ -3663,52 +3639,53 @@ export declare class LLM extends BaseClient {
3663
3639
  * @param value The variable value
3664
3640
  */
3665
3641
  withPromptVar: (name: string, value: string) => LLM;
3642
+ /**
3643
+ * Provide the entire Query object to the LLM
3644
+ */
3645
+ withQuery: () => LLM;
3666
3646
  /**
3667
3647
  * Set a variable of type SDKConfig in the llm environment
3668
3648
  * @param value The SDKConfig value to assign to the variable
3669
- * @deprecated use set<TargetType> instead
3670
3649
  */
3671
3650
  withSDKConfig: (value: SDKConfig) => LLM;
3672
3651
  /**
3673
3652
  * Set a variable of type ScalarTypeDef in the llm environment
3674
3653
  * @param value The ScalarTypeDef value to assign to the variable
3675
- * @deprecated use set<TargetType> instead
3676
3654
  */
3677
3655
  withScalarTypeDef: (value: ScalarTypeDef) => LLM;
3678
3656
  /**
3679
3657
  * Set a variable of type Secret in the llm environment
3680
3658
  * @param value The Secret value to assign to the variable
3681
- * @deprecated use set<TargetType> instead
3682
3659
  */
3683
3660
  withSecret: (value: Secret) => LLM;
3684
3661
  /**
3685
3662
  * Set a variable of type Service in the llm environment
3686
3663
  * @param value The Service value to assign to the variable
3687
- * @deprecated use set<TargetType> instead
3688
3664
  */
3689
3665
  withService: (value: Service) => LLM;
3690
3666
  /**
3691
3667
  * Set a variable of type Socket in the llm environment
3692
3668
  * @param value The Socket value to assign to the variable
3693
- * @deprecated use set<TargetType> instead
3694
3669
  */
3695
3670
  withSocket: (value: Socket) => LLM;
3696
3671
  /**
3697
3672
  * Set a variable of type SourceMap in the llm environment
3698
3673
  * @param value The SourceMap value to assign to the variable
3699
- * @deprecated use set<TargetType> instead
3700
3674
  */
3701
3675
  withSourceMap: (value: SourceMap) => LLM;
3676
+ /**
3677
+ * Add a system prompt to the LLM's environment
3678
+ * @param prompt The system prompt to send
3679
+ */
3680
+ withSystemPrompt: (prompt: string) => LLM;
3702
3681
  /**
3703
3682
  * Set a variable of type Terminal in the llm environment
3704
3683
  * @param value The Terminal value to assign to the variable
3705
- * @deprecated use set<TargetType> instead
3706
3684
  */
3707
3685
  withTerminal: (value: Terminal) => LLM;
3708
3686
  /**
3709
3687
  * Set a variable of type TypeDef in the llm environment
3710
3688
  * @param value The TypeDef value to assign to the variable
3711
- * @deprecated use set<TargetType> instead
3712
3689
  */
3713
3690
  withTypeDef: (value: TypeDef) => LLM;
3714
3691
  /**
@@ -3718,6 +3695,23 @@ export declare class LLM extends BaseClient {
3718
3695
  */
3719
3696
  with: (arg: (param: LLM) => LLM) => LLM;
3720
3697
  }
3698
+ export declare class LLMTokenUsage extends BaseClient {
3699
+ private readonly _id?;
3700
+ private readonly _inputTokens?;
3701
+ private readonly _outputTokens?;
3702
+ private readonly _totalTokens?;
3703
+ /**
3704
+ * Constructor is used for internal usage only, do not create object from it.
3705
+ */
3706
+ constructor(ctx?: Context, _id?: LLMTokenUsageID, _inputTokens?: number, _outputTokens?: number, _totalTokens?: number);
3707
+ /**
3708
+ * A unique identifier for this LLMTokenUsage.
3709
+ */
3710
+ id: () => Promise<LLMTokenUsageID>;
3711
+ inputTokens: () => Promise<number>;
3712
+ outputTokens: () => Promise<number>;
3713
+ totalTokens: () => Promise<number>;
3714
+ }
3721
3715
  export declare class LLMVariable extends BaseClient {
3722
3716
  private readonly _id?;
3723
3717
  private readonly _hash?;
@@ -3942,7 +3936,7 @@ export declare class ModuleSource extends BaseClient {
3942
3936
  */
3943
3937
  cloneRef: () => Promise<string>;
3944
3938
  /**
3945
- * The resolved commit of the git repo this source points to. Only valid for git sources.
3939
+ * The resolved commit of the git repo this source points to.
3946
3940
  */
3947
3941
  commit: () => Promise<string>;
3948
3942
  /**
@@ -3979,7 +3973,7 @@ export declare class ModuleSource extends BaseClient {
3979
3973
  */
3980
3974
  generatedContextDirectory: () => Directory;
3981
3975
  /**
3982
- * The URL to access the web view of the repository (e.g., GitHub, GitLab, Bitbucket). Only valid for git sources.
3976
+ * The URL to access the web view of the repository (e.g., GitHub, GitLab, Bitbucket).
3983
3977
  */
3984
3978
  htmlRepoURL: () => Promise<string>;
3985
3979
  /**
@@ -4031,7 +4025,7 @@ export declare class ModuleSource extends BaseClient {
4031
4025
  */
4032
4026
  sync: () => Promise<ModuleSource>;
4033
4027
  /**
4034
- * The specified version of the git repo this source points to. Only valid for git sources.
4028
+ * The specified version of the git repo this source points to.
4035
4029
  */
4036
4030
  version: () => Promise<string>;
4037
4031
  /**
@@ -4181,11 +4175,6 @@ export declare class Client extends BaseClient {
4181
4175
  * Get the Raw GraphQL client.
4182
4176
  */
4183
4177
  getGQLClient(): import("graphql-request").GraphQLClient;
4184
- /**
4185
- * Retrieves a container builtin to the engine.
4186
- * @param digest Digest of the image manifest
4187
- */
4188
- builtinContainer: (digest: string) => Container;
4189
4178
  /**
4190
4179
  * Constructs a cache volume for a given cache key.
4191
4180
  * @param key A string identifier to target this cache volume (e.g., "modules-cache").
@@ -4372,6 +4361,10 @@ export declare class Client extends BaseClient {
4372
4361
  * Load a LLM from its ID.
4373
4362
  */
4374
4363
  loadLLMFromID: (id: LLMID) => LLM;
4364
+ /**
4365
+ * Load a LLMTokenUsage from its ID.
4366
+ */
4367
+ loadLLMTokenUsageFromID: (id: LLMTokenUsageID) => LLMTokenUsage;
4375
4368
  /**
4376
4369
  * Load a LLMVariable from its ID.
4377
4370
  */