JsonlSessionCreateOptions class final
Options for JsonlSessionRepo.create.
Ported from pi's JsonlSessionCreateOptions.
Constructors
-
JsonlSessionCreateOptions({required String cwd, String? id, String? parentSessionPath, Map<
String, dynamic> ? metadata}) -
Creates JsonlSessionCreateOptions.
const
Properties
- cwd → String
-
Working directory the session belongs to (determines its directory).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Explicit session id; a fresh uuidv7 is generated when omitted.
final
-
metadata
→ Map<
String, dynamic> ? -
Free-form application metadata written to the header.
final
- parentSessionPath → String?
-
Path of the parent session (set automatically by JsonlSessionRepo.fork).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited