fix: parliament UX, prompt alignment, execution nudges (0.9.14)
Inject shared parliament context into the agent environment, switch prompts away from in-process workers when parliament is active, clear login tickets on chair sync/new-project, and surface realm/chair/service in /status. Tighten empty-reply handling and prefer-tool principles. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -40,6 +40,12 @@ char *cst_parliament_device_context(void);
|
||||
/* New project: wipe shared parliament context; keep Realm keys. */
|
||||
int cst_parliament_new_project(const char *project_id);
|
||||
|
||||
/* Resolve collaboration mode: env CST_COLLABORATION, then settings,
|
||||
* then password-Realm with an open parliament → "parliament". */
|
||||
int cst_parliament_is_active(void);
|
||||
/* Short status lines for TUI/CLI (malloc'd; caller frees). */
|
||||
char *cst_parliament_status_text(void);
|
||||
|
||||
/* Append/replace synchronized context blob (all agents share this file). */
|
||||
int cst_parliament_context_put(const char *text);
|
||||
char *cst_parliament_context_get(void);
|
||||
|
||||
@@ -10,7 +10,7 @@ extern "C" {
|
||||
int cst_parliament_cli_realm_new(void);
|
||||
int cst_parliament_cli_realm_password_init(const char *password);
|
||||
int cst_parliament_cli_login(const char *password, const char *instance_id,
|
||||
const char *device_label);
|
||||
const char *device_label, int peer_port);
|
||||
/* Login then ensure background parliament service (discover + sync). */
|
||||
int cst_parliament_cli_login_and_serve(const char *password,
|
||||
const char *instance_id,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#define CST_VERSION_MAJOR 0
|
||||
#define CST_VERSION_MINOR 9
|
||||
#define CST_VERSION_PATCH 13
|
||||
#define CST_VERSION_PATCH 14
|
||||
|
||||
#define CST_VERSION_STR_(x) #x
|
||||
#define CST_VERSION_STR(x) CST_VERSION_STR_(x)
|
||||
|
||||
Reference in New Issue
Block a user